Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002063/0.002063, allocations: 101.4 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002457/0.002457, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.599/1.599, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.542/3.542, allocations: 0.505 GB / 0.8066 GB, free: 23.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003479/0.003479, allocations: 72.52 kB / 1.172 GB, free: 17.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.4397, allocations: 180.2 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.003054/0.4427, allocations: 1.272 MB / 1.349 GB, free: 8.723 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003609/0.4431, allocations: 99.64 kB / 1.349 GB, free: 8.625 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.329e-05/0.4431, allocations: 0 / 1.349 GB, free: 8.625 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.4431, allocations: 0 / 1.349 GB, free: 8.625 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.174e-05/0.4432, allocations: 3.938 kB / 1.349 GB, free: 8.621 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.4435, allocations: 39.88 kB / 1.349 GB, free: 8.582 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.643e-05/0.4436, allocations: 11.94 kB / 1.349 GB, free: 8.57 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.575e-05/0.4437, allocations: 4 kB / 1.349 GB, free: 8.566 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.572e-05/0.4437, allocations: 3.938 kB / 1.349 GB, free: 8.562 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.813e-05/0.4437, allocations: 11.98 kB / 1.349 GB, free: 8.551 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.4438, allocations: 0 / 1.349 GB, free: 8.551 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.4439, allocations: 39.95 kB / 1.349 GB, free: 8.512 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.4439, allocations: 4 kB / 1.349 GB, free: 8.508 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.444, allocations: 7.922 kB / 1.349 GB, free: 8.5 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.4441, allocations: 36.17 kB / 1.349 GB, free: 8.465 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4441, allocations: 4 kB / 1.349 GB, free: 8.461 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4441, allocations: 0 / 1.349 GB, free: 8.461 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.4441, allocations: 3.938 kB / 1.349 GB, free: 8.457 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004963/0.4446, allocations: 339.7 kB / 1.35 GB, free: 8.078 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/0.4447, allocations: 15.98 kB / 1.35 GB, free: 8.062 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.4447, allocations: 30.75 kB / 1.35 GB, free: 8.023 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003614/0.4451, allocations: 24.89 kB / 1.35 GB, free: 8 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.4452, allocations: 168.4 kB / 1.35 GB, free: 7.797 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.4452, allocations: 4.375 kB / 1.35 GB, free: 7.793 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.4453, allocations: 4.125 kB / 1.35 GB, free: 7.789 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.4454, allocations: 45.67 kB / 1.35 GB, free: 7.738 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.4454, allocations: 4 kB / 1.35 GB, free: 7.734 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.4455, allocations: 0 / 1.35 GB, free: 7.734 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.4455, allocations: 0 / 1.35 GB, free: 7.734 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.4456, allocations: 23.97 kB / 1.35 GB, free: 7.711 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002358/0.4458, allocations: 169.6 kB / 1.35 GB, free: 7.496 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.446, allocations: 34.56 kB / 1.35 GB, free: 7.453 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.224e-05/0.4461, allocations: 24.84 kB / 1.35 GB, free: 7.426 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.4461, allocations: 0 / 1.35 GB, free: 7.426 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.4461, allocations: 34.56 kB / 1.35 GB, free: 7.383 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.4461, allocations: 0 / 1.35 GB, free: 7.383 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003153/0.4464, allocations: 77.55 kB / 1.35 GB, free: 7.301 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.4465, allocations: 59.41 kB / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.176e-05/0.4466, allocations: 93.86 kB / 1.35 GB, free: 7.129 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.4466, allocations: 25.7 kB / 1.35 GB, free: 7.098 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.4466, allocations: 80.14 kB / 1.35 GB, free: 7.016 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.4467, allocations: 7.953 kB / 1.35 GB, free: 7.008 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.4467, allocations: 21.83 kB / 1.35 GB, free: 6.98 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4469, allocations: 310.8 kB / 1.351 GB, free: 6.668 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.889e-05/0.447, allocations: 15.98 kB / 1.351 GB, free: 6.652 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.298e-05/0.447, allocations: 8 kB / 1.351 GB, free: 6.645 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.4471, allocations: 32.83 kB / 1.351 GB, free: 6.609 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4471, allocations: 0 / 1.351 GB, free: 6.609 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001726/0.4473, allocations: 61.62 kB / 1.351 GB, free: 6.543 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4473, allocations: 8 kB / 1.351 GB, free: 6.535 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.4473, allocations: 0 / 1.351 GB, free: 6.535 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4473, allocations: 0 / 1.351 GB, free: 6.535 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.4474, allocations: 15.92 kB / 1.351 GB, free: 6.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.4475, allocations: 0 / 1.351 GB, free: 6.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.912e-05/0.4475, allocations: 7.938 kB / 1.351 GB, free: 6.512 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.4475, allocations: 3.984 kB / 1.351 GB, free: 6.508 MB / 1.045 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.867e-05/0.4476, allocations: 109.9 kB / 1.351 GB, free: 6.391 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.4477, allocations: 7.938 kB / 1.351 GB, free: 6.383 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.4477, allocations: 3.125 kB / 1.351 GB, free: 6.375 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4477, allocations: 3.938 kB / 1.351 GB, free: 6.371 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4477, allocations: 0 / 1.351 GB, free: 6.371 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4477, allocations: 0 / 1.351 GB, free: 6.371 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.4478, allocations: 157.6 kB / 1.351 GB, free: 6.168 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.4479, allocations: 7.984 kB / 1.351 GB, free: 6.16 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.119e-05/0.4479, allocations: 4 kB / 1.351 GB, free: 6.156 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4479, allocations: 0 / 1.351 GB, free: 6.156 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.4479, allocations: 4 kB / 1.351 GB, free: 6.152 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.4479, allocations: 0 / 1.351 GB, free: 6.152 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4479, allocations: 0 / 1.351 GB, free: 6.152 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.4482, allocations: 92.94 kB / 1.351 GB, free: 6.043 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.4482, allocations: 77.11 kB / 1.351 GB, free: 5.949 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.4482, allocations: 0 / 1.351 GB, free: 5.949 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.4483, allocations: 12.02 kB / 1.351 GB, free: 5.938 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.4483, allocations: 192 / 1.351 GB, free: 5.938 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.4483, allocations: 8 kB / 1.351 GB, free: 5.93 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.815e-05/0.4484, allocations: 83.27 kB / 1.351 GB, free: 5.848 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4484, allocations: 0 / 1.351 GB, free: 5.848 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001938/0.4486, allocations: 8 kB / 1.351 GB, free: 5.84 MB / 1.045 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.000552/0.4491, allocations: 0.6241 MB / 1.352 GB, free: 5.184 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.4493, allocations: 23.98 kB / 1.352 GB, free: 5.16 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4493, allocations: 0 / 1.352 GB, free: 5.16 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.218e-05/0.4494, allocations: 11.98 kB / 1.352 GB, free: 5.148 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.4497, allocations: 12.22 kB / 1.352 GB, free: 5.141 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.4513, allocations: 1.173 MB / 1.353 GB, free: 3.887 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.4516, allocations: 0.6729 MB / 1.354 GB, free: 3.188 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.508e-05/0.4517, allocations: 11.94 kB / 1.354 GB, free: 3.176 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.098e-05/0.4517, allocations: 11.38 kB / 1.354 GB, free: 3.168 MB / 1.045 GB Notification: Performance of SimCode: time 4.31e-07/0.4517, allocations: 0 / 1.354 GB, free: 3.168 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.481, allocations: 1.476 MB / 1.355 GB, free: 1.801 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.441/8.922, allocations: 3.938 kB / 1.355 GB, free: 1.797 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.486208592075855]