Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002212/0.002212, allocations: 189.2 kB / 16.25 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.776/2.776, allocations: 461.9 MB / 0.7343 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 71.16 kB / 0.8987 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.293, allocations: 157.4 MB / 1.052 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002082/0.2951, allocations: 0.662 MB / 1.053 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003146/0.2955, allocations: 95.61 kB / 1.053 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.652e-05/0.2955, allocations: 0 / 1.053 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.2956, allocations: 4 kB / 1.053 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.399e-05/0.2956, allocations: 3.938 kB / 1.053 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.2959, allocations: 15.97 kB / 1.053 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.097e-05/0.2959, allocations: 4 kB / 1.053 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.296, allocations: 0 / 1.053 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.374e-05/0.296, allocations: 11.98 kB / 1.053 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.451e-05/0.2961, allocations: 8 kB / 1.053 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.2961, allocations: 0 / 1.053 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.173e-05/0.2962, allocations: 11.98 kB / 1.053 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.2962, allocations: 7.938 kB / 1.053 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.2962, allocations: 3.984 kB / 1.053 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.847e-05/0.2963, allocations: 11.98 kB / 1.053 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2963, allocations: 0 / 1.053 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2964, allocations: 0 / 1.053 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.2964, allocations: 4 kB / 1.053 GB, free: 7.836 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003616/0.2967, allocations: 319.5 kB / 1.054 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.2968, allocations: 12.62 kB / 1.054 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.844e-05/0.2968, allocations: 34.75 kB / 1.054 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.297, allocations: 8.922 kB / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.531e-05/0.2971, allocations: 168.4 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.2971, allocations: 384 / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.2972, allocations: 4.312 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.2973, allocations: 46.23 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2973, allocations: 3.938 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.2973, allocations: 0 / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2973, allocations: 4 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.101e-05/0.2974, allocations: 19.92 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.2976, allocations: 149.7 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.2978, allocations: 38.55 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/0.2978, allocations: 16.91 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.2979, allocations: 8 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.2979, allocations: 30.56 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.2979, allocations: 0 / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002272/0.2981, allocations: 61.55 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.2982, allocations: 51.41 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.814e-05/0.2982, allocations: 89.86 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.2982, allocations: 25.7 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.526e-05/0.2983, allocations: 84.14 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.2983, allocations: 16.12 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.2984, allocations: 9.719 kB / 1.054 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.2985, allocations: 310.8 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.274e-05/0.2985, allocations: 11.98 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.261e-05/0.2986, allocations: 4 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.21e-05/0.2987, allocations: 28.78 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2987, allocations: 4 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001182/0.2988, allocations: 53.61 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2988, allocations: 4 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.2988, allocations: 3.938 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.2988, allocations: 0 / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.2992, allocations: 43.94 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.3006, allocations: 1.405 MB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.09e-05/0.3006, allocations: 0 / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.3006, allocations: 4.031 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.887e-05/0.3007, allocations: 117.9 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.3007, allocations: 7.906 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.998e-05/0.3008, allocations: 7.484 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3008, allocations: 4 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.3008, allocations: 3.938 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3008, allocations: 0 / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.3009, allocations: 153.6 kB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3009, allocations: 0 / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.3013, allocations: 51.92 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3013, allocations: 0 / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.3013, allocations: 0 / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.3025, allocations: 1.413 MB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3025, allocations: 0 / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.3026, allocations: 73.11 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.3027, allocations: 81.05 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-06/0.3027, allocations: 8 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.023e-05/0.3027, allocations: 4 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.3028, allocations: 0 / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.3028, allocations: 0 / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.659e-05/0.3028, allocations: 79.27 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3028, allocations: 4 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002038/0.303, allocations: 0 / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004059/0.3034, allocations: 0.6124 MB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005091/0.3039, allocations: 67.95 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.304, allocations: 0 / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000265/0.3042, allocations: 44.03 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.3044, allocations: 0 / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004865/0.3049, allocations: 134.5 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.3051, allocations: 0.6845 MB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.947e-05/0.3052, allocations: 0 / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.3052, allocations: 11.44 kB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3052, allocations: 0 / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01299/0.3182, allocations: 1.176 MB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/0.3185, allocations: 245.8 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/2.88, allocations: 0 / 1.061 GB, free: 15.29 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches