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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.004034/0.004035, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001189/0.001189, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.816/2.816, allocations: 482.4 MB / 0.7548 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001949, allocations: 63.55 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3444, allocations: 162.2 MB / 1.241 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2214/0.5658, allocations: 192.7 MB / 1.43 GB, free: 7.883 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006779/0.5726, allocations: 4.022 MB / 1.434 GB, free: 3.852 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007929/0.5734, allocations: 15.94 kB / 1.434 GB, free: 3.836 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.5747, allocations: 477 kB / 1.434 GB, free: 3.367 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003715/0.5785, allocations: 1.527 MB / 1.435 GB, free: 1.836 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003438/0.5819, allocations: 1.354 MB / 1.437 GB, free: 492 kB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0024/0.5843, allocations: 1.612 MB / 1.438 GB, free: 14.86 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.5856, allocations: 0.9548 MB / 1.439 GB, free: 13.89 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.5876, allocations: 1.059 MB / 1.44 GB, free: 12.83 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.5887, allocations: 0.8448 MB / 1.441 GB, free: 11.98 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001673/0.5889, allocations: 96 kB / 1.441 GB, free: 11.89 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.5916, allocations: 1.302 MB / 1.443 GB, free: 10.58 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004071/0.592, allocations: 355 kB / 1.443 GB, free: 10.23 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005934/0.5926, allocations: 0.5094 MB / 1.443 GB, free: 9.723 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.5951, allocations: 1.639 MB / 1.445 GB, free: 8.074 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5951, allocations: 4 kB / 1.445 GB, free: 8.07 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5951, allocations: 0 / 1.445 GB, free: 8.07 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.5952, allocations: 0 / 1.445 GB, free: 8.07 MB / 1.17 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.003176/0.5983, allocations: 1.475 MB / 1.446 GB, free: 6.543 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.5984, allocations: 8.031 kB / 1.446 GB, free: 6.535 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000133/0.5985, allocations: 86.52 kB / 1.446 GB, free: 6.441 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/0.6001, allocations: 251.2 kB / 1.447 GB, free: 6.195 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.6012, allocations: 0.6155 MB / 1.447 GB, free: 5.535 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/0.6012, allocations: 37 kB / 1.447 GB, free: 5.5 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.6013, allocations: 52 kB / 1.447 GB, free: 5.449 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.603, allocations: 0.9492 MB / 1.448 GB, free: 4.43 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.603, allocations: 23.83 kB / 1.448 GB, free: 4.406 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.277e-05/0.6031, allocations: 19.98 kB / 1.448 GB, free: 4.387 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.322e-05/0.6031, allocations: 35.92 kB / 1.448 GB, free: 4.352 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.6049, allocations: 0.9367 MB / 1.449 GB, free: 3.414 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00583/0.6107, allocations: 4.255 MB / 1.453 GB, free: 14.99 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.6118, allocations: 0.6095 MB / 1.454 GB, free: 14.37 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008629/0.6127, allocations: 0.5097 MB / 1.455 GB, free: 13.86 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/0.6138, allocations: 0.8821 MB / 1.455 GB, free: 12.79 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.6139, allocations: 39 kB / 1.455 GB, free: 12.74 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001539/0.6154, allocations: 415.4 kB / 1.456 GB, free: 12.34 MB / 1.186 GB Notification: Performance of pre-optimization done (n=50): time 2.705e-06/0.6154, allocations: 4 kB / 1.456 GB, free: 12.33 MB / 1.186 GB Notification: Performance of matching and sorting (n=50): time 0.01923/0.6347, allocations: 3.849 MB / 1.46 GB, free: 8.43 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.6348, allocations: 55.84 kB / 1.46 GB, free: 8.363 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.6358, allocations: 0.7078 MB / 1.46 GB, free: 7.645 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/0.636, allocations: 37.7 kB / 1.46 GB, free: 7.602 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.6363, allocations: 320.9 kB / 1.461 GB, free: 7.285 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/0.6365, allocations: 190.4 kB / 1.461 GB, free: 7.098 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003125/0.6369, allocations: 154.1 kB / 1.461 GB, free: 6.941 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.637, allocations: 322 kB / 1.461 GB, free: 6.621 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007459/0.6378, allocations: 392.9 kB / 1.462 GB, free: 6.238 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008471/0.6386, allocations: 493.5 kB / 1.462 GB, free: 5.727 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.6403, allocations: 0.9141 MB / 1.463 GB, free: 4.785 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.6403, allocations: 0 / 1.463 GB, free: 4.785 MB / 1.186 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01238/0.6527, allocations: 2.564 MB / 1.466 GB, free: 2.207 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.6528, allocations: 8.125 kB / 1.466 GB, free: 2.199 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.6528, allocations: 8 kB / 1.466 GB, free: 2.191 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/0.6632, allocations: 1.734 MB / 1.467 GB, free: 460 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/0.6638, allocations: 91.8 kB / 1.467 GB, free: 368 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/0.6783, allocations: 7.131 MB / 1.474 GB, free: 8.934 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009331/0.6793, allocations: 20.05 kB / 1.474 GB, free: 8.914 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.6795, allocations: 47.92 kB / 1.474 GB, free: 8.867 MB / 1.201 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.0005084/0.68, allocations: 213.7 kB / 1.475 GB, free: 8.648 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/0.6803, allocations: 83.69 kB / 1.475 GB, free: 8.566 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005661/0.686, allocations: 1.742 MB / 1.476 GB, free: 6.809 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.686, allocations: 8 kB / 1.476 GB, free: 6.801 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.686, allocations: 4 kB / 1.476 GB, free: 6.797 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.686, allocations: 3.984 kB / 1.476 GB, free: 6.793 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006697/0.6927, allocations: 2.548 MB / 1.479 GB, free: 4.16 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.6928, allocations: 0 / 1.479 GB, free: 4.16 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004657/0.6932, allocations: 91.83 kB / 1.479 GB, free: 4.07 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003719/0.697, allocations: 0.8056 MB / 1.48 GB, free: 3.258 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.645e-05/0.6971, allocations: 16 kB / 1.48 GB, free: 3.242 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007927/0.705, allocations: 4.859 MB / 1.485 GB, free: 14.11 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.355e-06/0.705, allocations: 3.938 kB / 1.485 GB, free: 14.1 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005987/0.711, allocations: 2.148 MB / 1.487 GB, free: 11.91 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000534/0.7116, allocations: 236.5 kB / 1.487 GB, free: 11.66 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/0.7118, allocations: 24 kB / 1.487 GB, free: 11.64 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000709/0.7125, allocations: 19.98 kB / 1.487 GB, free: 11.62 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/0.7128, allocations: 52.44 kB / 1.487 GB, free: 11.57 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.183e-05/0.7128, allocations: 23.98 kB / 1.487 GB, free: 11.54 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007688/0.7136, allocations: 0.4912 MB / 1.487 GB, free: 11.06 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.265e-06/0.7136, allocations: 0 / 1.487 GB, free: 11.06 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001126/0.7147, allocations: 299.7 kB / 1.488 GB, free: 10.77 MB / 1.217 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.006562/0.7213, allocations: 2.82 MB / 1.491 GB, free: 7.902 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00401/0.7253, allocations: 1.46 MB / 1.492 GB, free: 6.41 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.7254, allocations: 0 / 1.492 GB, free: 6.41 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002085/0.7275, allocations: 0.9224 MB / 1.493 GB, free: 5.465 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/0.73, allocations: 459.1 kB / 1.493 GB, free: 5.016 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03413/0.7641, allocations: 10.45 MB / 1.503 GB, free: 10.39 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007782/0.765, allocations: 0.9828 MB / 1.504 GB, free: 9.379 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0007443/0.7657, allocations: 162.6 kB / 1.505 GB, free: 9.215 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005111/0.7663, allocations: 283.3 kB / 1.505 GB, free: 8.938 MB / 1.232 GB Notification: Performance of SimCode: time 5.91e-07/0.7663, allocations: 0 / 1.505 GB, free: 8.938 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07265/0.8389, allocations: 29.67 MB / 1.534 GB, free: 11.65 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.45, allocations: 11.86 kB / 1.534 GB, free: 11.64 MB / 1.264 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 400 --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