Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_10_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.0009982/0.0009981, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003772, allocations: 8 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7387/0.7391, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.00171/0.7409, allocations: 1.168 MB / 1.025 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003065/0.7412, allocations: 92.59 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.7412, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.7413, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.654e-05/0.7413, allocations: 3.938 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.7415, allocations: 15.97 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.747e-05/0.7416, allocations: 23.94 kB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.7417, allocations: 7.984 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.185e-05/0.7418, allocations: 7.938 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.398e-05/0.7418, allocations: 15.92 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.7418, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.991e-05/0.7419, allocations: 15.98 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.7419, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.742, allocations: 37.64 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.26e-05/0.742, allocations: 23.94 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.742, allocations: 0 / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7421, allocations: 4 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.7421, allocations: 4 kB / 1.025 GB, free: 14.41 MB / 0.7794 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.0004275/0.7425, allocations: 343.5 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.7426, allocations: 8.031 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.7427, allocations: 20.83 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.7429, allocations: 164.3 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.7429, allocations: 8.375 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.7429, allocations: 384 / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.7431, allocations: 70.16 kB / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.7431, allocations: 192 / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.7432, allocations: 7.938 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.7432, allocations: 0 / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.7434, allocations: 63.95 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.7438, allocations: 268.9 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.744, allocations: 58.48 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.7442, allocations: 44.83 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.7442, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.7442, allocations: 34.56 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.7442, allocations: 7.938 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004809/0.7447, allocations: 121.5 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.7448, allocations: 51.41 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.615e-05/0.7449, allocations: 106 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.7449, allocations: 29.7 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.7449, allocations: 88.14 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.745, allocations: 3.906 kB / 1.027 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/0.745, allocations: 9.719 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.7451, allocations: 318.8 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.7452, allocations: 35.92 kB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.7454, allocations: 31.97 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.7456, allocations: 64.88 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7456, allocations: 0 / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002695/0.7459, allocations: 97.59 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.7459, allocations: 11.98 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.7459, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.7459, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.746, allocations: 16.23 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.7461, allocations: 0 / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.898e-05/0.7461, allocations: 16.03 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.7462, allocations: 3.938 kB / 1.027 GB, free: 12.12 MB / 0.7794 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 7.604e-05/0.7462, allocations: 117.8 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.7463, allocations: 4 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.7463, allocations: 3.531 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.7463, allocations: 0 / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.7463, allocations: 0 / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.7463, allocations: 0 / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.7465, allocations: 173.6 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.7465, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.23e-05/0.7466, allocations: 15.98 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.7466, allocations: 0 / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.7466, allocations: 3.984 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7466, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7466, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.7469, allocations: 199.3 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.747, allocations: 77.11 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.747, allocations: 3.938 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.522e-05/0.7471, allocations: 27.89 kB / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.7472, allocations: 0 / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.7472, allocations: 7.984 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.691e-05/0.7472, allocations: 79.28 kB / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7472, allocations: 0 / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002131/0.7474, allocations: 4 kB / 1.028 GB, free: 11.33 MB / 0.7794 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.0001142/0.7476, allocations: 103.2 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.7478, allocations: 67.94 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7479, allocations: 0 / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.748, allocations: 36.05 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.7483, allocations: 7.938 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.7487, allocations: 158.4 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.7489, allocations: 0.677 MB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.7489, allocations: 11.44 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of SimCode: time 4.91e-07/0.7489, allocations: 0 / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of Templates: time 0.001907/0.7509, allocations: 0.6277 MB / 1.029 GB, free: 9.582 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches