Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 112 kB / 16.41 MB, free: 6.016 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.00193/0.00193, allocations: 191.5 kB / 17.34 MB, free: 5.629 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.579/1.579, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.846/2.846, allocations: 474.5 MB / 0.7477 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 63.91 kB / 1.073 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.003, allocations: 160.3 MB / 1.229 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003305/1.007, allocations: 1.452 MB / 1.231 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0003526/1.007, allocations: 95.75 kB / 1.231 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/1.007, allocations: 0 / 1.231 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.558e-05/1.007, allocations: 4 kB / 1.231 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.677e-05/1.007, allocations: 3.938 kB / 1.231 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/1.007, allocations: 11.98 kB / 1.231 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.883e-05/1.007, allocations: 27.92 kB / 1.231 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/1.008, allocations: 7.984 kB / 1.231 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.343e-05/1.008, allocations: 15.92 kB / 1.231 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.369e-05/1.008, allocations: 11.92 kB / 1.231 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/1.008, allocations: 4 kB / 1.231 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.799e-05/1.008, allocations: 11.98 kB / 1.231 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/1.008, allocations: 11.94 kB / 1.231 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/1.008, allocations: 11.94 kB / 1.231 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/1.008, allocations: 31.89 kB / 1.231 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.008, allocations: 0 / 1.231 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.194e-06/1.008, allocations: 0 / 1.231 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.001e-05/1.008, allocations: 0 / 1.231 GB, free: 9.266 MB / 0.9512 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.0005261/1.009, allocations: 347.9 kB / 1.231 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/1.009, allocations: 8.031 kB / 1.231 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/1.009, allocations: 16.92 kB / 1.231 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/1.009, allocations: 180.2 kB / 1.231 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/1.009, allocations: 384 / 1.231 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/1.009, allocations: 384 / 1.231 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/1.009, allocations: 54.23 kB / 1.231 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/1.009, allocations: 192 / 1.231 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/1.009, allocations: 3.938 kB / 1.231 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/1.009, allocations: 4 kB / 1.231 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/1.01, allocations: 55.88 kB / 1.231 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/1.01, allocations: 257 kB / 1.232 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/1.01, allocations: 58.47 kB / 1.232 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/1.01, allocations: 28.91 kB / 1.232 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/1.01, allocations: 3.938 kB / 1.232 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/1.01, allocations: 34.56 kB / 1.232 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/1.01, allocations: 0 / 1.232 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0004381/1.011, allocations: 101.7 kB / 1.232 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/1.011, allocations: 55.41 kB / 1.232 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.789e-05/1.011, allocations: 105.8 kB / 1.232 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/1.011, allocations: 25.7 kB / 1.232 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/1.011, allocations: 92.08 kB / 1.232 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/1.011, allocations: 7.938 kB / 1.232 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/1.011, allocations: 13.72 kB / 1.232 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.011, allocations: 314.8 kB / 1.233 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/1.011, allocations: 23.97 kB / 1.233 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.967e-05/1.011, allocations: 23.98 kB / 1.233 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/1.012, allocations: 52.75 kB / 1.233 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/1.012, allocations: 0 / 1.233 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002548/1.012, allocations: 93.59 kB / 1.233 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.012, allocations: 4 kB / 1.233 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.012, allocations: 0 / 1.233 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/1.012, allocations: 0 / 1.233 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/1.012, allocations: 11.98 kB / 1.233 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/1.012, allocations: 0 / 1.233 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.235e-05/1.012, allocations: 8.234 kB / 1.233 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/1.012, allocations: 4.031 kB / 1.233 GB, free: 7.094 MB / 0.9512 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.712e-05/1.012, allocations: 117.8 kB / 1.233 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/1.012, allocations: 0 / 1.233 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/1.012, allocations: 11.53 kB / 1.233 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.012, allocations: 3.984 kB / 1.233 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/1.012, allocations: 3.984 kB / 1.233 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/1.012, allocations: 0 / 1.233 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/1.013, allocations: 169.6 kB / 1.233 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.013, allocations: 0 / 1.233 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.218e-05/1.013, allocations: 19.92 kB / 1.233 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.013, allocations: 0 / 1.233 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/1.013, allocations: 0 / 1.233 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/1.013, allocations: 0 / 1.233 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/1.013, allocations: 0 / 1.233 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/1.013, allocations: 175.4 kB / 1.233 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/1.013, allocations: 85.09 kB / 1.233 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/1.013, allocations: 0 / 1.233 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.975e-05/1.013, allocations: 11.98 kB / 1.233 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/1.013, allocations: 0 / 1.233 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/1.013, allocations: 4 kB / 1.233 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.54e-05/1.013, allocations: 83.22 kB / 1.233 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.013, allocations: 3.938 kB / 1.233 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002199/1.014, allocations: 8 kB / 1.233 GB, free: 6.312 MB / 0.9512 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001458/1.014, allocations: 111.1 kB / 1.233 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002785/1.014, allocations: 47.95 kB / 1.234 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.014, allocations: 0 / 1.234 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/1.014, allocations: 27.97 kB / 1.234 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/1.015, allocations: 11.94 kB / 1.234 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/1.015, allocations: 129.4 kB / 1.234 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/1.015, allocations: 0.6807 MB / 1.234 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.732e-05/1.015, allocations: 0 / 1.234 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/1.015, allocations: 7.438 kB / 1.234 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of SimCode: time 6.61e-07/1.015, allocations: 3.938 kB / 1.234 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of Templates: time 0.003429/1.019, allocations: 0.5726 MB / 1.235 GB, free: 4.672 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches