Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001799/0.001799, allocations: 105.8 kB / 16.45 MB, free: 6.453 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.002139/0.002139, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.552/1.552, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.913/2.913, allocations: 476.7 MB / 0.7672 GB, free: 5.227 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_11_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.002078/0.002078, allocations: 67.89 kB / 1.112 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9611/0.9632, allocations: 169.9 MB / 1.278 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002646/0.9659, allocations: 1.28 MB / 1.28 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003072/0.9662, allocations: 119.5 kB / 1.28 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.9662, allocations: 4 kB / 1.28 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.9662, allocations: 0 / 1.28 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.319e-05/0.9663, allocations: 11.92 kB / 1.28 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.9665, allocations: 31.89 kB / 1.28 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.064e-05/0.9666, allocations: 19.86 kB / 1.28 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/0.9666, allocations: 0 / 1.28 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.192e-05/0.9666, allocations: 8 kB / 1.28 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.408e-05/0.9667, allocations: 4 kB / 1.28 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.9667, allocations: 7.938 kB / 1.28 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.9668, allocations: 51.94 kB / 1.28 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.9669, allocations: 11.86 kB / 1.28 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.9669, allocations: 7.984 kB / 1.28 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.967, allocations: 41.66 kB / 1.28 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.967, allocations: 0 / 1.28 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.967, allocations: 0 / 1.28 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.967, allocations: 0 / 1.28 GB, free: 11.85 MB / 0.9825 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.0004596/0.9675, allocations: 331.4 kB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.9675, allocations: 16.03 kB / 1.28 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.249e-05/0.9676, allocations: 30.75 kB / 1.28 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.9676, allocations: 0.9375 kB / 1.28 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.9678, allocations: 160.4 kB / 1.28 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.9678, allocations: 4.375 kB / 1.28 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.9678, allocations: 4.125 kB / 1.28 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.635e-05/0.9679, allocations: 37.69 kB / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.9679, allocations: 0 / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.9679, allocations: 0 / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.9679, allocations: 4 kB / 1.28 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.246e-05/0.9679, allocations: 7.938 kB / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.9681, allocations: 153.7 kB / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.701e-05/0.9682, allocations: 18.58 kB / 1.281 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.667e-05/0.9682, allocations: 16.86 kB / 1.281 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007904/0.969, allocations: 0.6012 MB / 1.281 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.969, allocations: 34.56 kB / 1.281 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.969, allocations: 4 kB / 1.281 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001521/0.9692, allocations: 41.64 kB / 1.281 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.9692, allocations: 51.41 kB / 1.281 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/0.9693, allocations: 97.84 kB / 1.281 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.9693, allocations: 25.7 kB / 1.281 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.9694, allocations: 88.12 kB / 1.281 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.9694, allocations: 12.02 kB / 1.281 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.9694, allocations: 13.72 kB / 1.282 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.9696, allocations: 322.8 kB / 1.282 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.9696, allocations: 4 kB / 1.282 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.036e-05/0.9696, allocations: 4 kB / 1.282 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.905e-05/0.9696, allocations: 8.859 kB / 1.282 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.9697, allocations: 0 / 1.282 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.183e-05/0.9697, allocations: 49.53 kB / 1.282 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.9697, allocations: 12.09 kB / 1.282 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.9697, allocations: 0 / 1.282 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.9698, allocations: 0 / 1.282 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.9698, allocations: 11.92 kB / 1.282 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.9698, allocations: 0 / 1.282 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.9698, allocations: 0 / 1.282 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.9698, allocations: 0 / 1.282 GB, free: 9.352 MB / 0.9825 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.456e-05/0.9699, allocations: 111.8 kB / 1.282 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.97, allocations: 11.94 kB / 1.282 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.9701, allocations: 52.75 kB / 1.282 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.9701, allocations: 0 / 1.282 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.9701, allocations: 0 / 1.282 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.9701, allocations: 0 / 1.282 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.9702, allocations: 157.6 kB / 1.282 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.9702, allocations: 0 / 1.282 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.9702, allocations: 4 kB / 1.282 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.9702, allocations: 0 / 1.282 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.9702, allocations: 0 / 1.282 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.9702, allocations: 0 / 1.282 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9702, allocations: 4.219 kB / 1.282 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.669e-05/0.9703, allocations: 69.06 kB / 1.282 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.9704, allocations: 81.09 kB / 1.282 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.9704, allocations: 3.938 kB / 1.282 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.614e-05/0.9704, allocations: 0 / 1.282 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.9704, allocations: 4 kB / 1.282 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.9704, allocations: 4 kB / 1.282 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.602e-05/0.9705, allocations: 83.3 kB / 1.282 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9705, allocations: 4 kB / 1.282 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002008/0.9707, allocations: 11.94 kB / 1.282 GB, free: 8.656 MB / 0.9825 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.0004862/0.9712, allocations: 0.619 MB / 1.283 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.047e-05/0.9713, allocations: 23.95 kB / 1.283 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9713, allocations: 0 / 1.283 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-05/0.9713, allocations: 4 kB / 1.283 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.9715, allocations: 7.938 kB / 1.283 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.9726, allocations: 1.083 MB / 1.284 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.9729, allocations: 0.6806 MB / 1.285 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.059e-05/0.9729, allocations: 8 kB / 1.285 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.973, allocations: 7.438 kB / 1.285 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/0.973, allocations: 3.938 kB / 1.285 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.9999, allocations: 1.453 MB / 1.286 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.28/9.28, allocations: 11.77 kB / 1.286 GB, free: 4.723 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Airflow.Multizone.BaseClasses.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_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.68665497819893]