Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",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.006887/0.006887, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.001578/0.001578, allocations: 190.2 kB / 16.67 MB, free: 5.871 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.377/2.377, allocations: 469.4 MB / 0.7421 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 76.05 kB / 1.064 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6871/0.6883, allocations: 159.1 MB / 1.22 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1761/0.8645, allocations: 192.6 MB / 1.408 GB, free: 0.9648 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.005784/0.8703, allocations: 4.018 MB / 1.412 GB, free: 12.94 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008944/0.8713, allocations: 15.94 kB / 1.412 GB, free: 12.92 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.8726, allocations: 493 kB / 1.412 GB, free: 12.44 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003545/0.8762, allocations: 1.583 MB / 1.414 GB, free: 10.85 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003242/0.8794, allocations: 1.378 MB / 1.415 GB, free: 9.469 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002128/0.8816, allocations: 1.639 MB / 1.417 GB, free: 7.82 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.8828, allocations: 0.9586 MB / 1.418 GB, free: 6.848 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.8845, allocations: 0.9462 MB / 1.419 GB, free: 5.898 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.8857, allocations: 0.8448 MB / 1.419 GB, free: 5.051 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002782/0.886, allocations: 96 kB / 1.42 GB, free: 4.957 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/0.8885, allocations: 1.313 MB / 1.421 GB, free: 3.641 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000449/0.8889, allocations: 363 kB / 1.421 GB, free: 3.285 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0008025/0.8897, allocations: 0.5094 MB / 1.422 GB, free: 2.773 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002699/0.8925, allocations: 1.635 MB / 1.423 GB, free: 1.137 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8925, allocations: 0 / 1.423 GB, free: 1.137 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.206e-06/0.8925, allocations: 4 kB / 1.423 GB, free: 1.133 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.58e-05/0.8925, allocations: 0 / 1.423 GB, free: 1.133 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.003369/0.8959, allocations: 1.482 MB / 1.425 GB, free: 15.59 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.8959, allocations: 8.625 kB / 1.425 GB, free: 15.59 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001581/0.8961, allocations: 86.52 kB / 1.425 GB, free: 15.49 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.8977, allocations: 247.2 kB / 1.425 GB, free: 15.25 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.8988, allocations: 0.6155 MB / 1.426 GB, free: 14.59 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.8988, allocations: 41 kB / 1.426 GB, free: 14.55 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.899, allocations: 51.95 kB / 1.426 GB, free: 14.5 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.9004, allocations: 0.9557 MB / 1.427 GB, free: 13.48 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.9005, allocations: 7.938 kB / 1.427 GB, free: 13.48 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.983e-05/0.9005, allocations: 23.98 kB / 1.427 GB, free: 13.45 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.327e-05/0.9006, allocations: 39.92 kB / 1.427 GB, free: 13.41 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.9021, allocations: 0.9367 MB / 1.428 GB, free: 12.48 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005359/0.9074, allocations: 4.255 MB / 1.432 GB, free: 8.051 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009145/0.9084, allocations: 0.6077 MB / 1.432 GB, free: 7.438 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007266/0.9091, allocations: 0.5136 MB / 1.433 GB, free: 6.922 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009561/0.9101, allocations: 0.8783 MB / 1.434 GB, free: 5.859 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.9101, allocations: 39 kB / 1.434 GB, free: 5.809 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001388/0.9115, allocations: 411.5 kB / 1.434 GB, free: 5.406 MB / 1.154 GB Notification: Performance of pre-optimization done (n=50): time 4.268e-06/0.9115, allocations: 4 kB / 1.434 GB, free: 5.402 MB / 1.154 GB Notification: Performance of matching and sorting (n=50): time 0.01739/0.9289, allocations: 3.842 MB / 1.438 GB, free: 1.512 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.929, allocations: 55.84 kB / 1.438 GB, free: 1.445 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008862/0.9299, allocations: 0.7116 MB / 1.439 GB, free: 0.7266 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.398e-05/0.93, allocations: 41.64 kB / 1.439 GB, free: 0.6797 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.9302, allocations: 320.9 kB / 1.439 GB, free: 372 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.9304, allocations: 190.3 kB / 1.439 GB, free: 180 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002577/0.9307, allocations: 158.1 kB / 1.439 GB, free: 16 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.9308, allocations: 326 kB / 1.44 GB, free: 15.69 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006204/0.9314, allocations: 392.9 kB / 1.44 GB, free: 15.3 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006792/0.9321, allocations: 485.5 kB / 1.44 GB, free: 14.81 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.9335, allocations: 0.9219 MB / 1.441 GB, free: 13.86 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.9335, allocations: 0 / 1.441 GB, free: 13.86 MB / 1.17 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01108/0.9446, allocations: 2.564 MB / 1.444 GB, free: 11.28 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.9446, allocations: 8 kB / 1.444 GB, free: 11.27 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.9446, allocations: 0 / 1.444 GB, free: 11.27 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009305/0.9539, allocations: 1.742 MB / 1.446 GB, free: 9.52 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.9544, allocations: 87.86 kB / 1.446 GB, free: 9.434 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/0.9664, allocations: 7.157 MB / 1.453 GB, free: 1.984 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008835/0.9673, allocations: 16.06 kB / 1.453 GB, free: 1.969 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/0.9675, allocations: 47.92 kB / 1.453 GB, free: 1.922 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004727/0.968, allocations: 209.2 kB / 1.453 GB, free: 1.711 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/0.9683, allocations: 87.44 kB / 1.453 GB, free: 1.625 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004958/0.9733, allocations: 1.741 MB / 1.455 GB, free: 15.86 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.9733, allocations: 12 kB / 1.455 GB, free: 15.85 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.9733, allocations: 7.984 kB / 1.455 GB, free: 15.84 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.9733, allocations: 0 / 1.455 GB, free: 15.84 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00584/0.9792, allocations: 2.548 MB / 1.457 GB, free: 13.21 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.9792, allocations: 0 / 1.457 GB, free: 13.21 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004269/0.9796, allocations: 87.89 kB / 1.457 GB, free: 13.13 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003364/0.983, allocations: 0.8017 MB / 1.458 GB, free: 12.32 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/0.9831, allocations: 12 kB / 1.458 GB, free: 12.31 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006253/0.9893, allocations: 4.86 MB / 1.463 GB, free: 7.164 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.9894, allocations: 3.938 kB / 1.463 GB, free: 7.16 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004976/0.9944, allocations: 2.148 MB / 1.465 GB, free: 4.973 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004498/0.9948, allocations: 236.5 kB / 1.465 GB, free: 4.723 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.995, allocations: 16 kB / 1.465 GB, free: 4.707 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006294/0.9956, allocations: 23.98 kB / 1.465 GB, free: 4.684 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.9958, allocations: 60.36 kB / 1.465 GB, free: 4.625 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/0.9958, allocations: 16 kB / 1.465 GB, free: 4.609 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006117/0.9965, allocations: 0.4951 MB / 1.466 GB, free: 4.121 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9965, allocations: 0 / 1.466 GB, free: 4.121 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009367/0.9974, allocations: 291.8 kB / 1.466 GB, free: 3.836 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005505/1.003, allocations: 2.818 MB / 1.469 GB, free: 0.9648 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003363/1.006, allocations: 1.472 MB / 1.47 GB, free: 15.47 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.006, allocations: 0 / 1.47 GB, free: 15.47 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/1.008, allocations: 0.9224 MB / 1.471 GB, free: 14.52 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/1.01, allocations: 457.2 kB / 1.472 GB, free: 14.07 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02946/1.04, allocations: 10.45 MB / 1.482 GB, free: 3.434 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006288/1.04, allocations: 0.9867 MB / 1.483 GB, free: 2.422 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0006734/1.041, allocations: 158.6 kB / 1.483 GB, free: 2.262 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/1.041, allocations: 283.3 kB / 1.483 GB, free: 1.984 MB / 1.201 GB Notification: Performance of SimCode: time 8.42e-07/1.041, allocations: 0 / 1.483 GB, free: 1.984 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05618/1.098, allocations: 29.67 MB / 1.512 GB, free: 4.695 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/11.45, allocations: 7.984 kB / 1.512 GB, free: 4.688 MB / 1.232 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches