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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001887/0.001887, 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.002102/0.002102, allocations: 193 kB / 16.25 MB, free: 6.637 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.474/1.474, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.766/2.766, allocations: 437 MB / 0.7101 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.91 kB / 0.8687 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6287/0.6307, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003485/0.6342, allocations: 1.505 MB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003465/0.6346, allocations: 88.59 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.6347, allocations: 4 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.266e-05/0.6347, allocations: 0 / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.54e-05/0.6348, allocations: 3.938 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.6351, allocations: 15.98 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.053e-05/0.6352, allocations: 27.91 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.6353, allocations: 4 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.758e-05/0.6354, allocations: 11.94 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.671e-05/0.6354, allocations: 15.92 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.6354, allocations: 0 / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/0.6355, allocations: 11.98 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.6355, allocations: 12 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.6356, allocations: 11.92 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.6357, allocations: 35.89 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.6357, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6358, allocations: 4 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.6358, allocations: 3.938 kB / 1.019 GB, free: 0.9453 MB / 0.7637 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.000577/0.6364, allocations: 337.4 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.6364, allocations: 12.03 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.6366, allocations: 28.81 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.6368, allocations: 164.3 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.6368, allocations: 384 / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.6369, allocations: 8.312 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.6371, allocations: 58.2 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.6371, allocations: 192 / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.6371, allocations: 7.938 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.6371, allocations: 0 / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.6374, allocations: 47.95 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.6379, allocations: 261 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.6381, allocations: 58.42 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.6382, allocations: 32.89 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.6382, allocations: 4 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.6383, allocations: 30.56 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.6383, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004582/0.6388, allocations: 109.6 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.6388, allocations: 51.41 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.6389, allocations: 109.8 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.639, allocations: 25.7 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.639, allocations: 84.14 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.6391, allocations: 3.906 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.6391, allocations: 13.72 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.6393, allocations: 318.8 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.6394, allocations: 24 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.6395, allocations: 27.97 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.6397, allocations: 48.81 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6397, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002512/0.64, allocations: 85.66 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.64, allocations: 4 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.64, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.64, allocations: 3.938 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.6401, allocations: 11.98 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.6402, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.549e-05/0.6402, allocations: 11.98 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.6402, allocations: 4.031 kB / 1.02 GB, free: 14.77 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 9.056e-05/0.6403, allocations: 114.3 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.6404, allocations: 7.984 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/0.6404, allocations: 3.531 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.6404, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6404, allocations: 3.938 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.6404, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.6406, allocations: 173.8 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.6407, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.502e-05/0.6407, allocations: 19.98 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.6408, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.6408, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6408, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6408, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.6411, allocations: 183.4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.6412, allocations: 81.11 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.6412, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.32e-05/0.6413, allocations: 7.984 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.6413, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.6414, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.29e-05/0.6414, allocations: 87.27 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6414, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002235/0.6417, allocations: 4 kB / 1.021 GB, free: 14 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.0001482/0.6418, allocations: 99.28 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002706/0.6421, allocations: 55.89 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6421, allocations: 4 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.6422, allocations: 27.91 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.6426, allocations: 17.62 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.643, allocations: 125.5 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.6433, allocations: 0.6768 MB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.6434, allocations: 0 / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.6434, allocations: 15.44 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6434, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of Templates: time 0.003172/0.6466, allocations: 0.5194 MB / 1.023 GB, free: 12.41 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches