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.007402/0.007402, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001905/0.001905, allocations: 196.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.315/2.315, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.38/4.38, allocations: 437 MB / 0.7105 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002937/0.002937, allocations: 59.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4112, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 1.184/1.595, allocations: 192.6 MB / 1.354 GB, free: 1.117 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01122/1.606, allocations: 4.022 MB / 1.358 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/1.608, allocations: 26.84 kB / 1.358 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002093/1.61, allocations: 470.7 kB / 1.359 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006472/1.617, allocations: 1.536 MB / 1.36 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005665/1.622, allocations: 1.344 MB / 1.361 GB, free: 12.49 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004198/1.626, allocations: 1.641 MB / 1.363 GB, free: 11.75 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/1.629, allocations: 0.9547 MB / 1.364 GB, free: 11.32 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002968/1.632, allocations: 0.9267 MB / 1.365 GB, free: 10.95 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002244/1.634, allocations: 0.8507 MB / 1.366 GB, free: 10.6 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002955/1.634, allocations: 96.03 kB / 1.366 GB, free: 10.6 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004788/1.639, allocations: 1.306 MB / 1.367 GB, free: 10.03 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000789/1.64, allocations: 354.3 kB / 1.367 GB, free: 9.77 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001256/1.641, allocations: 0.5179 MB / 1.368 GB, free: 9.422 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005022/1.646, allocations: 1.63 MB / 1.37 GB, free: 8.363 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/1.646, allocations: 0 / 1.37 GB, free: 8.363 MB / 1.045 GB Notification: Performance of FrontEnd: time 6.052e-06/1.646, allocations: 0 / 1.37 GB, free: 8.363 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.606e-05/1.646, allocations: 5.438 kB / 1.37 GB, free: 8.359 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.005336/1.652, allocations: 1.47 MB / 1.371 GB, free: 7.309 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/1.652, allocations: 10.72 kB / 1.371 GB, free: 7.309 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002102/1.652, allocations: 92.61 kB / 1.371 GB, free: 7.227 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002764/1.655, allocations: 250.2 kB / 1.371 GB, free: 7.102 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/1.656, allocations: 0.6092 MB / 1.372 GB, free: 6.59 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.987e-05/1.657, allocations: 38.28 kB / 1.372 GB, free: 6.57 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/1.657, allocations: 48.78 kB / 1.372 GB, free: 6.555 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/1.659, allocations: 0.9679 MB / 1.373 GB, free: 5.852 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/1.659, allocations: 9.859 kB / 1.373 GB, free: 5.844 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/1.66, allocations: 21.78 kB / 1.373 GB, free: 5.828 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-05/1.66, allocations: 28.33 kB / 1.373 GB, free: 5.824 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002667/1.662, allocations: 0.9361 MB / 1.374 GB, free: 5.352 MB / 1.045 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.009301/1.672, allocations: 4.26 MB / 1.378 GB, free: 1.758 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/1.673, allocations: 0.6037 MB / 1.379 GB, free: 1.418 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/1.675, allocations: 0.5193 MB / 1.379 GB, free: 1.121 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001627/1.676, allocations: 0.8723 MB / 1.38 GB, free: 144 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.656e-05/1.676, allocations: 37.66 kB / 1.38 GB, free: 100 kB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002588/1.679, allocations: 415.8 kB / 1.38 GB, free: 15.92 MB / 1.061 GB Notification: Performance of pre-optimization done (n=50): time 6.332e-06/1.679, allocations: 2.531 kB / 1.38 GB, free: 15.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=50): time 0.02963/1.709, allocations: 3.849 MB / 1.384 GB, free: 13.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/1.709, allocations: 62.53 kB / 1.384 GB, free: 13.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/1.71, allocations: 0.7117 MB / 1.385 GB, free: 13.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002556/1.711, allocations: 32.39 kB / 1.385 GB, free: 13.22 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/1.711, allocations: 320.2 kB / 1.385 GB, free: 12.94 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003387/1.711, allocations: 196.6 kB / 1.386 GB, free: 12.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004322/1.712, allocations: 150.5 kB / 1.386 GB, free: 12.67 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.712, allocations: 326.5 kB / 1.386 GB, free: 12.35 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/1.713, allocations: 395.8 kB / 1.386 GB, free: 12.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/1.714, allocations: 491.2 kB / 1.387 GB, free: 11.82 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0025/1.717, allocations: 0.9223 MB / 1.388 GB, free: 11.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.717, allocations: 0 / 1.388 GB, free: 11.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01883/1.736, allocations: 2.566 MB / 1.39 GB, free: 9.832 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/1.736, allocations: 5.531 kB / 1.39 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/1.736, allocations: 2.219 kB / 1.39 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01576/1.752, allocations: 1.735 MB / 1.392 GB, free: 8.945 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007694/1.753, allocations: 93.31 kB / 1.392 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02118/1.774, allocations: 7.136 MB / 1.399 GB, free: 3.539 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/1.775, allocations: 19.45 kB / 1.399 GB, free: 3.527 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/1.775, allocations: 45.25 kB / 1.399 GB, free: 3.508 MB / 1.061 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.0006083/1.776, allocations: 219.6 kB / 1.399 GB, free: 3.328 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/1.776, allocations: 91.75 kB / 1.399 GB, free: 3.277 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008108/1.785, allocations: 1.739 MB / 1.401 GB, free: 2.277 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/1.785, allocations: 5.562 kB / 1.401 GB, free: 2.277 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/1.785, allocations: 6.078 kB / 1.401 GB, free: 2.273 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.55e-05/1.785, allocations: 6.609 kB / 1.401 GB, free: 2.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01/1.795, allocations: 2.537 MB / 1.404 GB, free: 0.582 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/1.795, allocations: 0 / 1.404 GB, free: 0.582 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007894/1.796, allocations: 92.38 kB / 1.404 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005564/1.801, allocations: 0.8022 MB / 1.404 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001554/1.801, allocations: 12 kB / 1.404 GB, free: 15.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/1.813, allocations: 4.87 MB / 1.409 GB, free: 10.53 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.813, allocations: 0 / 1.409 GB, free: 10.53 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009171/1.823, allocations: 2.155 MB / 1.411 GB, free: 8.332 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009022/1.823, allocations: 232.5 kB / 1.411 GB, free: 8.086 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/1.824, allocations: 19.98 kB / 1.412 GB, free: 8.066 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009683/1.825, allocations: 19.98 kB / 1.412 GB, free: 8.047 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002831/1.825, allocations: 52.44 kB / 1.412 GB, free: 7.996 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.889e-05/1.825, allocations: 20 kB / 1.412 GB, free: 7.977 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001123/1.826, allocations: 0.499 MB / 1.412 GB, free: 7.484 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.01e-07/1.826, allocations: 4 kB / 1.412 GB, free: 7.48 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001692/1.828, allocations: 287.8 kB / 1.412 GB, free: 7.199 MB / 1.076 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.01013/1.838, allocations: 2.797 MB / 1.415 GB, free: 4.355 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006169/1.844, allocations: 1.476 MB / 1.417 GB, free: 2.855 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.844, allocations: 0 / 1.417 GB, free: 2.855 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003176/1.848, allocations: 0.9186 MB / 1.417 GB, free: 1.91 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003884/1.851, allocations: 465.1 kB / 1.418 GB, free: 1.453 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05293/1.904, allocations: 10.46 MB / 1.428 GB, free: 6.816 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/1.905, allocations: 0.9789 MB / 1.429 GB, free: 5.809 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001166/1.907, allocations: 166.6 kB / 1.429 GB, free: 5.641 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007141/1.907, allocations: 287.3 kB / 1.429 GB, free: 5.359 MB / 1.092 GB Notification: Performance of SimCode: time 1.122e-06/1.907, allocations: 0 / 1.429 GB, free: 5.359 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1234/2.031, allocations: 29.67 MB / 1.458 GB, free: 8.07 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.58/21.61, allocations: 3.75 kB / 1.458 GB, free: 8.066 MB / 1.123 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