Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_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.0009238/0.0009237, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00431/0.00431, allocations: 172.9 kB / 16.26 MB, free: 6.676 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.185/1.185, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.13/2.13, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003265, allocations: 11.98 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5537/0.5541, allocations: 142.4 MB / 0.9552 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001215/0.5553, allocations: 1.162 MB / 0.9563 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002406/0.5556, allocations: 89.7 kB / 0.9564 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.5556, allocations: 5.125 kB / 0.9564 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.5556, allocations: 3.938 kB / 0.9564 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.755e-05/0.5557, allocations: 0 / 0.9564 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.5558, allocations: 16.11 kB / 0.9564 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.075e-05/0.5559, allocations: 25.17 kB / 0.9564 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.276e-05/0.5559, allocations: 11.56 kB / 0.9564 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.33e-05/0.556, allocations: 3.406 kB / 0.9564 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.326e-05/0.556, allocations: 15.36 kB / 0.9565 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.556, allocations: 1.156 kB / 0.9565 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.569e-05/0.5561, allocations: 14.64 kB / 0.9565 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.5561, allocations: 9.031 kB / 0.9565 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.5561, allocations: 35.75 kB / 0.9565 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.639e-05/0.5562, allocations: 32.39 kB / 0.9565 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.5562, allocations: 1.062 kB / 0.9565 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5562, allocations: 0 / 0.9565 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.5563, allocations: 4 kB / 0.9565 GB, free: 6.605 MB / 0.7169 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.0003004/0.5566, allocations: 343.1 kB / 0.9569 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.5566, allocations: 9.031 kB / 0.9569 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.484e-05/0.5566, allocations: 32.09 kB / 0.9569 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.5568, allocations: 22.78 kB / 0.9569 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.696e-05/0.5569, allocations: 174.7 kB / 0.9571 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.5569, allocations: 5.422 kB / 0.9571 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.5569, allocations: 1.531 kB / 0.9571 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.5571, allocations: 64.34 kB / 0.9572 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.5571, allocations: 3.938 kB / 0.9572 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.5571, allocations: 0 / 0.9572 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5571, allocations: 1.062 kB / 0.9572 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.5573, allocations: 67.92 kB / 0.9572 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.5576, allocations: 264.4 kB / 0.9575 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.5578, allocations: 64.08 kB / 0.9576 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.5579, allocations: 42.02 kB / 0.9576 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.5579, allocations: 0 / 0.9576 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.128e-05/0.5579, allocations: 31.53 kB / 0.9576 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.5579, allocations: 3.938 kB / 0.9576 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003901/0.5583, allocations: 124.5 kB / 0.9577 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.686e-05/0.5583, allocations: 52.69 kB / 0.9578 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.796e-05/0.5584, allocations: 113.2 kB / 0.9579 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.5584, allocations: 25.7 kB / 0.9579 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.988e-05/0.5584, allocations: 85.58 kB / 0.958 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.5584, allocations: 5.062 kB / 0.958 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/0.5585, allocations: 9.719 kB / 0.958 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.26e-05/0.5585, allocations: 312.1 kB / 0.9583 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.5586, allocations: 36.5 kB / 0.9584 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.437e-05/0.5587, allocations: 31.75 kB / 0.9584 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.5589, allocations: 72 kB / 0.9585 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.5589, allocations: 5.719 kB / 0.9585 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000225/0.5592, allocations: 100.8 kB / 0.9586 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.5592, allocations: 6.094 kB / 0.9586 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.5592, allocations: 1.219 kB / 0.9586 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.5592, allocations: 0 / 0.9586 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.286e-05/0.5593, allocations: 14.89 kB / 0.9586 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.5593, allocations: 0 / 0.9586 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.153e-05/0.5594, allocations: 21.48 kB / 0.9586 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.5594, allocations: 0 / 0.9586 GB, free: 4.66 MB / 0.7169 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 4.187e-05/0.5594, allocations: 111.3 kB / 0.9587 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.5595, allocations: 1.5 kB / 0.9587 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.5595, allocations: 13.02 kB / 0.9587 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.5595, allocations: 0 / 0.9587 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.5595, allocations: 1.406 kB / 0.9587 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.5595, allocations: 4 kB / 0.9587 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.5596, allocations: 171.6 kB / 0.9589 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.5596, allocations: 0 / 0.9589 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.428e-05/0.5597, allocations: 15.39 kB / 0.9589 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.5597, allocations: 0 / 0.9589 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.5597, allocations: 1.438 kB / 0.9589 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.5597, allocations: 0 / 0.9589 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.5597, allocations: 3.984 kB / 0.9589 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.56, allocations: 200.6 kB / 0.9591 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.56, allocations: 78.86 kB / 0.9592 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.56, allocations: 4.031 kB / 0.9592 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.686e-05/0.5601, allocations: 12.95 kB / 0.9592 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.5601, allocations: 1.781 kB / 0.9592 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.5601, allocations: 0 / 0.9592 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.144e-05/0.5602, allocations: 88.89 kB / 0.9593 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5602, allocations: 0 / 0.9593 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002067/0.5604, allocations: 5.406 kB / 0.9593 GB, free: 3.953 MB / 0.7169 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.0003797/0.5608, allocations: 0.7247 MB / 0.96 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.561, allocations: 62.58 kB / 0.9601 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.561, allocations: 4.062 kB / 0.9601 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.5611, allocations: 39.28 kB / 0.9601 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.5614, allocations: 5.375 kB / 0.9601 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.5617, allocations: 164.5 kB / 0.9603 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.322e-05/0.5618, allocations: 0.6785 MB / 0.9609 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.716e-05/0.5619, allocations: 0 / 0.9609 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.5619, allocations: 16.75 kB / 0.9609 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.5619, allocations: 0 / 0.9609 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009297/0.5712, allocations: 1.197 MB / 0.9621 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001355/0.5714, allocations: 198.9 kB / 0.9623 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.19, allocations: 0 / 0.9623 GB, free: 1.512 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches