Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_10_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.004723/0.004723, allocations: 97.38 kB / 15.73 MB, free: 5.949 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.001023/0.001023, allocations: 193.6 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.391/2.391, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 59.91 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7665/0.7679, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1753/0.9432, allocations: 192.6 MB / 1.354 GB, free: 2.387 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005324/0.9485, allocations: 4.004 MB / 1.358 GB, free: 14.37 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004211/0.949, allocations: 19.88 kB / 1.358 GB, free: 14.35 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.95, allocations: 493 kB / 1.359 GB, free: 13.87 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002885/0.9529, allocations: 1.596 MB / 1.36 GB, free: 12.27 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.9557, allocations: 1.378 MB / 1.362 GB, free: 10.89 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001645/0.9573, allocations: 1.636 MB / 1.363 GB, free: 9.246 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.9584, allocations: 0.9664 MB / 1.364 GB, free: 8.266 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.9595, allocations: 0.9424 MB / 1.365 GB, free: 7.32 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008971/0.9604, allocations: 0.8487 MB / 1.366 GB, free: 6.469 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.9605, allocations: 96 kB / 1.366 GB, free: 6.375 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.9625, allocations: 1.309 MB / 1.367 GB, free: 5.062 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003091/0.9628, allocations: 362.9 kB / 1.368 GB, free: 4.707 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004396/0.9633, allocations: 0.5055 MB / 1.368 GB, free: 4.199 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.9651, allocations: 1.647 MB / 1.37 GB, free: 2.551 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.9651, allocations: 0 / 1.37 GB, free: 2.551 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9651, allocations: 4 kB / 1.37 GB, free: 2.547 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.9651, allocations: 0 / 1.37 GB, free: 2.547 MB / 1.092 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.002813/0.9679, allocations: 1.475 MB / 1.371 GB, free: 1.02 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.968, allocations: 8.922 kB / 1.371 GB, free: 1.012 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.9681, allocations: 94.5 kB / 1.371 GB, free: 0.9102 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/0.9695, allocations: 247.2 kB / 1.371 GB, free: 0.668 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008955/0.9704, allocations: 0.6077 MB / 1.372 GB, free: 20 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.907e-05/0.9705, allocations: 45.03 kB / 1.372 GB, free: 15.97 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.9706, allocations: 48 kB / 1.372 GB, free: 15.92 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.972, allocations: 0.9608 MB / 1.373 GB, free: 14.89 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.972, allocations: 11.89 kB / 1.373 GB, free: 14.88 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.977e-05/0.9721, allocations: 24 kB / 1.373 GB, free: 14.86 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.896e-05/0.9721, allocations: 35.92 kB / 1.373 GB, free: 14.82 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.9736, allocations: 0.9367 MB / 1.374 GB, free: 13.89 MB / 1.107 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.005044/0.9787, allocations: 4.255 MB / 1.378 GB, free: 9.461 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008759/0.9795, allocations: 0.6011 MB / 1.379 GB, free: 8.855 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007141/0.9803, allocations: 0.5163 MB / 1.379 GB, free: 8.336 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009091/0.9812, allocations: 0.8744 MB / 1.38 GB, free: 7.277 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.9812, allocations: 39 kB / 1.38 GB, free: 7.23 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001321/0.9826, allocations: 419.5 kB / 1.381 GB, free: 6.82 MB / 1.107 GB Notification: Performance of pre-optimization done (n=50): time 1.964e-06/0.9826, allocations: 0 / 1.381 GB, free: 6.82 MB / 1.107 GB Notification: Performance of matching and sorting (n=50): time 0.01659/0.9992, allocations: 3.845 MB / 1.384 GB, free: 2.926 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.9992, allocations: 55.84 kB / 1.384 GB, free: 2.859 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007856/1, allocations: 0.7116 MB / 1.385 GB, free: 2.141 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.268e-05/1, allocations: 37.7 kB / 1.385 GB, free: 2.098 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/1, allocations: 320.9 kB / 1.385 GB, free: 1.781 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/1, allocations: 186.3 kB / 1.386 GB, free: 1.598 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/1.001, allocations: 162.1 kB / 1.386 GB, free: 1.434 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 9.313e-05/1.001, allocations: 322 kB / 1.386 GB, free: 1.113 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006321/1.001, allocations: 396.9 kB / 1.386 GB, free: 0.7227 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006908/1.002, allocations: 489.5 kB / 1.387 GB, free: 224 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/1.004, allocations: 0.9219 MB / 1.388 GB, free: 15.27 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.004, allocations: 0 / 1.388 GB, free: 15.27 MB / 1.123 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01089/1.014, allocations: 2.561 MB / 1.39 GB, free: 12.69 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/1.015, allocations: 10.5 kB / 1.39 GB, free: 12.68 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/1.015, allocations: 0 / 1.39 GB, free: 12.68 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00924/1.024, allocations: 1.741 MB / 1.392 GB, free: 10.93 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/1.024, allocations: 91.86 kB / 1.392 GB, free: 10.84 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/1.036, allocations: 7.147 MB / 1.399 GB, free: 3.402 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007329/1.037, allocations: 16.06 kB / 1.399 GB, free: 3.387 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/1.037, allocations: 51.86 kB / 1.399 GB, free: 3.336 MB / 1.123 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.000358/1.037, allocations: 201.8 kB / 1.399 GB, free: 3.129 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/1.038, allocations: 87.44 kB / 1.399 GB, free: 3.043 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004736/1.042, allocations: 1.742 MB / 1.401 GB, free: 1.285 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/1.042, allocations: 11.94 kB / 1.401 GB, free: 1.273 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/1.042, allocations: 4 kB / 1.401 GB, free: 1.27 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.042, allocations: 0 / 1.401 GB, free: 1.27 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005636/1.048, allocations: 2.548 MB / 1.404 GB, free: 14.64 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/1.048, allocations: 0 / 1.404 GB, free: 14.64 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/1.048, allocations: 87.89 kB / 1.404 GB, free: 14.55 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003208/1.052, allocations: 0.802 MB / 1.405 GB, free: 13.74 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/1.052, allocations: 12 kB / 1.405 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006374/1.058, allocations: 4.861 MB / 1.409 GB, free: 8.59 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/1.058, allocations: 480 / 1.409 GB, free: 8.59 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004917/1.063, allocations: 2.155 MB / 1.411 GB, free: 6.395 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00046/1.064, allocations: 232.5 kB / 1.412 GB, free: 6.148 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/1.064, allocations: 16 kB / 1.412 GB, free: 6.133 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005887/1.064, allocations: 27.98 kB / 1.412 GB, free: 6.105 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/1.064, allocations: 56.36 kB / 1.412 GB, free: 6.051 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/1.064, allocations: 16 kB / 1.412 GB, free: 6.035 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006245/1.065, allocations: 0.499 MB / 1.412 GB, free: 5.543 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.71e-07/1.065, allocations: 0 / 1.412 GB, free: 5.543 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.000907/1.066, allocations: 291.8 kB / 1.412 GB, free: 5.258 MB / 1.139 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.005413/1.071, allocations: 2.806 MB / 1.415 GB, free: 2.398 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003361/1.075, allocations: 1.468 MB / 1.417 GB, free: 0.9062 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.075, allocations: 0 / 1.417 GB, free: 0.9062 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/1.077, allocations: 0.9224 MB / 1.418 GB, free: 15.96 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/1.079, allocations: 459.3 kB / 1.418 GB, free: 15.51 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02892/1.108, allocations: 10.46 MB / 1.428 GB, free: 4.867 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/1.108, allocations: 0.9789 MB / 1.429 GB, free: 3.863 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0006446/1.109, allocations: 162.6 kB / 1.429 GB, free: 3.699 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000418/1.109, allocations: 283.3 kB / 1.43 GB, free: 3.422 MB / 1.154 GB Notification: Performance of SimCode: time 1.122e-06/1.109, allocations: 0 / 1.43 GB, free: 3.422 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05767/1.167, allocations: 29.67 MB / 1.459 GB, free: 6.086 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/11.35, allocations: 11.73 kB / 1.459 GB, free: 6.074 MB / 1.186 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches