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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_10_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.001177/0.001177, allocations: 108 kB / 15.6 MB, free: 132 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.001168/0.001168, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.532/2.532, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.89 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5651/0.5664, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002509/0.5689, allocations: 1.441 MB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002556/0.5692, allocations: 92.58 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.5692, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.5693, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.433e-05/0.5693, allocations: 3.938 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.5695, allocations: 15.92 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.351e-05/0.5696, allocations: 23.98 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.215e-05/0.5697, allocations: 7.984 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.214e-05/0.5697, allocations: 15.92 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.571e-05/0.5698, allocations: 19.88 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.5698, allocations: 0 / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.589e-05/0.5698, allocations: 15.98 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.5699, allocations: 7.984 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.5699, allocations: 7.938 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.57, allocations: 43.81 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.57, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.313e-06/0.57, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.57, allocations: 4 kB / 1.019 GB, free: 0.7539 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.0003963/0.5704, allocations: 341.7 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.5705, allocations: 12.03 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.921e-05/0.5705, allocations: 30.75 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.5707, allocations: 20.83 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.993e-05/0.5708, allocations: 168.3 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.5708, allocations: 384 / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.5708, allocations: 4.375 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.571, allocations: 58.22 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.571, allocations: 11.94 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.571, allocations: 0 / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.5711, allocations: 0 / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.5713, allocations: 47.89 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.5716, allocations: 261 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.5718, allocations: 58.48 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.5719, allocations: 32.89 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.572, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.572, allocations: 34.5 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.572, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004172/0.5724, allocations: 109.5 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.5725, allocations: 51.41 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.128e-05/0.5725, allocations: 105.8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.5726, allocations: 25.7 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.5726, allocations: 80.14 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.5726, allocations: 12.03 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.5727, allocations: 17.66 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.191e-05/0.5728, allocations: 314.8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.5729, allocations: 19.98 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.573, allocations: 27.97 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.5732, allocations: 56.81 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5732, allocations: 3.938 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002448/0.5735, allocations: 81.64 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.5735, allocations: 6.188 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.5735, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.5735, allocations: 4 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.5736, allocations: 12.02 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.5736, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.5737, allocations: 11.98 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.5737, allocations: 0 / 1.021 GB, free: 14.54 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 6.047e-05/0.5738, allocations: 113.7 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.5738, allocations: 11.89 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.5738, allocations: 7.531 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5739, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.5739, allocations: 7.938 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.5739, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.574, allocations: 165.8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.574, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.314e-05/0.5741, allocations: 15.98 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5741, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.5741, allocations: 3.984 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5741, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5741, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.5744, allocations: 179.5 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/0.5745, allocations: 81.11 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.5745, allocations: 3.984 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.244e-05/0.5746, allocations: 4 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.5746, allocations: 3.984 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.5746, allocations: 4.031 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.573e-05/0.5747, allocations: 87.28 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.425e-06/0.5747, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002228/0.5749, allocations: 7.938 kB / 1.022 GB, free: 13.77 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.0004928/0.5754, allocations: 0.7162 MB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002516/0.5757, allocations: 55.94 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5757, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.5758, allocations: 23.92 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.5761, allocations: 8.156 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.5765, allocations: 147.2 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.5767, allocations: 0.6768 MB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.074e-05/0.5768, allocations: 4 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.5768, allocations: 15.44 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5768, allocations: 0 / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.5936, allocations: 1.428 MB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.051/7.644, allocations: 4.891 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized_res.csv","/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