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 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: 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.001152/0.001152, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001183/0.001183, allocations: 187 kB / 17.34 MB, free: 5.719 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001484, allocations: 63.91 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9205/0.922, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002972/0.9251, allocations: 1.451 MB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003451/0.9254, allocations: 87.75 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.194e-05/0.9255, allocations: 3.938 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.114e-05/0.9255, allocations: 3.938 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.671e-05/0.9256, allocations: 3.938 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.9259, allocations: 23.98 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.338e-05/0.926, allocations: 19.92 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.9261, allocations: 8 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.191e-05/0.9261, allocations: 11.92 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.865e-05/0.9262, allocations: 19.97 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.9262, allocations: 0 / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.681e-05/0.9263, allocations: 15.98 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.9263, allocations: 11.94 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.9264, allocations: 7.938 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.9265, allocations: 27.89 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.9265, allocations: 0 / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.425e-06/0.9265, allocations: 4 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.9265, allocations: 0 / 1.21 GB, free: 11.9 MB / 0.9356 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.0005257/0.9271, allocations: 343.3 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.9271, allocations: 15.97 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.9273, allocations: 12.92 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.9275, allocations: 172.3 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.9275, allocations: 384 / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.9275, allocations: 8.359 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.9277, allocations: 54.22 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.9277, allocations: 192 / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.9278, allocations: 11.94 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.9278, allocations: 0 / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.928, allocations: 43.95 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.9284, allocations: 264.9 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.9286, allocations: 58.48 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.9287, allocations: 28.89 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.9288, allocations: 4 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.9288, allocations: 30.56 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.9288, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004452/0.9293, allocations: 109.6 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.9293, allocations: 51.41 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/0.9294, allocations: 105.8 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.9294, allocations: 25.7 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.9295, allocations: 80.14 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.9295, allocations: 9.734 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.9296, allocations: 17.83 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.9297, allocations: 314.8 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.9298, allocations: 23.97 kB / 1.212 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-05/0.9299, allocations: 27.92 kB / 1.212 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.9301, allocations: 52.88 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.9301, allocations: 3.938 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002671/0.9304, allocations: 93.42 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.9304, allocations: 5.875 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.9304, allocations: 0 / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.9305, allocations: 0 / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.9306, allocations: 11.98 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.9306, allocations: 4.031 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.665e-05/0.9307, allocations: 11.98 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.9307, allocations: 0 / 1.212 GB, free: 9.723 MB / 0.9356 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 9.939e-05/0.9308, allocations: 111.3 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.9308, allocations: 4 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.9309, allocations: 7.531 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.9309, allocations: 0 / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.9309, allocations: 0 / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.9309, allocations: 0 / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.9311, allocations: 173.8 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.9311, allocations: 4 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.013e-05/0.9312, allocations: 8 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.9312, allocations: 3.984 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.9312, allocations: 0 / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9312, allocations: 0 / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.9312, allocations: 0 / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.9315, allocations: 183.4 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.9316, allocations: 89 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.9316, allocations: 0 / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.841e-05/0.9317, allocations: 4 kB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.9317, allocations: 3.984 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.9318, allocations: 0 / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.773e-05/0.9318, allocations: 87.28 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9318, allocations: 4.031 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002184/0.932, allocations: 4 kB / 1.213 GB, free: 8.949 MB / 0.9356 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.0001245/0.9322, allocations: 99.23 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.9324, allocations: 51.89 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9325, allocations: 0 / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.9326, allocations: 32.03 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.9329, allocations: 7.938 kB / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.9333, allocations: 155 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.9336, allocations: 0.6768 MB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.9337, allocations: 11.38 kB / 1.214 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of SimCode: time 6.61e-07/0.9337, allocations: 4 kB / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of Templates: time 0.002201/0.9359, allocations: 0.6385 MB / 1.214 GB, free: 7.215 MB / 0.9356 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 -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