Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_11_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.007164/0.007169, allocations: 103.7 kB / 15.74 MB, free: 6.445 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.002067/0.002067, allocations: 196.5 kB / 16.67 MB, free: 6.352 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.802/2.802, allocations: 469.8 MB / 0.7425 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 75.83 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.27, allocations: 159.1 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.7082/0.9783, allocations: 192.6 MB / 1.408 GB, free: 14.43 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.006425/0.9847, allocations: 4.028 MB / 1.412 GB, free: 11.14 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005367/0.9853, allocations: 21.44 kB / 1.412 GB, free: 11.13 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.9865, allocations: 467.6 kB / 1.413 GB, free: 10.75 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003278/0.9898, allocations: 1.535 MB / 1.414 GB, free: 9.57 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003342/0.9932, allocations: 1.35 MB / 1.415 GB, free: 8.586 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002159/0.9953, allocations: 1.634 MB / 1.417 GB, free: 7.66 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.9965, allocations: 0.9507 MB / 1.418 GB, free: 7.012 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.9978, allocations: 0.9267 MB / 1.419 GB, free: 6.504 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.9988, allocations: 0.8529 MB / 1.42 GB, free: 5.973 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.999, allocations: 94.56 kB / 1.42 GB, free: 5.973 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/1.001, allocations: 1.315 MB / 1.421 GB, free: 5.262 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003474/1.002, allocations: 348.9 kB / 1.421 GB, free: 5.008 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005252/1.002, allocations: 0.5114 MB / 1.422 GB, free: 4.668 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002032/1.004, allocations: 1.637 MB / 1.424 GB, free: 3.605 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.004, allocations: 0 / 1.424 GB, free: 3.605 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.172e-06/1.004, allocations: 3.938 kB / 1.424 GB, free: 3.602 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.778e-06/1.004, allocations: 0 / 1.424 GB, free: 3.602 MB / 1.107 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.002894/1.007, allocations: 1.47 MB / 1.425 GB, free: 2.551 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/1.007, allocations: 9.75 kB / 1.425 GB, free: 2.551 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/1.007, allocations: 96.25 kB / 1.425 GB, free: 2.465 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/1.009, allocations: 250.1 kB / 1.425 GB, free: 2.34 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008977/1.01, allocations: 0.6138 MB / 1.426 GB, free: 1.828 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/1.01, allocations: 32.81 kB / 1.426 GB, free: 1.812 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/1.01, allocations: 54.3 kB / 1.426 GB, free: 1.793 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/1.011, allocations: 0.9717 MB / 1.427 GB, free: 1.082 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/1.011, allocations: 2.5 kB / 1.427 GB, free: 1.082 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.827e-05/1.012, allocations: 20.97 kB / 1.427 GB, free: 1.066 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.85e-05/1.012, allocations: 30.52 kB / 1.427 GB, free: 1.059 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/1.013, allocations: 0.9387 MB / 1.428 GB, free: 0.5859 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.005505/1.019, allocations: 4.263 MB / 1.432 GB, free: 12.21 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/1.02, allocations: 0.6052 MB / 1.433 GB, free: 11.61 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008353/1.021, allocations: 0.5136 MB / 1.433 GB, free: 11.09 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/1.022, allocations: 0.8705 MB / 1.434 GB, free: 10.04 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/1.022, allocations: 39 kB / 1.434 GB, free: 9.984 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001456/1.023, allocations: 419.5 kB / 1.434 GB, free: 9.574 MB / 1.123 GB Notification: Performance of pre-optimization done (n=50): time 2.504e-06/1.023, allocations: 0 / 1.434 GB, free: 9.574 MB / 1.123 GB Notification: Performance of matching and sorting (n=50): time 0.01851/1.042, allocations: 3.845 MB / 1.438 GB, free: 5.676 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/1.042, allocations: 59.78 kB / 1.438 GB, free: 5.605 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008989/1.043, allocations: 0.7078 MB / 1.439 GB, free: 4.887 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.951e-05/1.043, allocations: 37.7 kB / 1.439 GB, free: 4.844 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000271/1.043, allocations: 328.8 kB / 1.439 GB, free: 4.52 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/1.043, allocations: 182.4 kB / 1.44 GB, free: 4.34 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/1.043, allocations: 154.1 kB / 1.44 GB, free: 4.184 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.044, allocations: 330 kB / 1.44 GB, free: 3.855 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007178/1.044, allocations: 392.9 kB / 1.44 GB, free: 3.469 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000798/1.045, allocations: 493.5 kB / 1.441 GB, free: 2.965 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/1.047, allocations: 0.918 MB / 1.442 GB, free: 2.02 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.047, allocations: 0 / 1.442 GB, free: 2.02 MB / 1.123 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01178/1.059, allocations: 2.561 MB / 1.444 GB, free: 15.44 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.059, allocations: 8 kB / 1.444 GB, free: 15.43 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.059, allocations: 0.5 kB / 1.444 GB, free: 15.43 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01/1.069, allocations: 1.73 MB / 1.446 GB, free: 13.7 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004368/1.069, allocations: 95.81 kB / 1.446 GB, free: 13.6 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/1.083, allocations: 7.159 MB / 1.453 GB, free: 6.156 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007437/1.083, allocations: 20.05 kB / 1.453 GB, free: 6.137 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.935e-05/1.083, allocations: 43.94 kB / 1.453 GB, free: 6.094 MB / 1.139 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.0003651/1.084, allocations: 213.7 kB / 1.453 GB, free: 5.875 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/1.084, allocations: 87.44 kB / 1.453 GB, free: 5.789 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005359/1.089, allocations: 1.743 MB / 1.455 GB, free: 4.031 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/1.089, allocations: 8 kB / 1.455 GB, free: 4.023 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.089, allocations: 0 / 1.455 GB, free: 4.023 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/1.089, allocations: 7.984 kB / 1.455 GB, free: 4.016 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006171/1.096, allocations: 2.54 MB / 1.458 GB, free: 1.391 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/1.096, allocations: 3.984 kB / 1.458 GB, free: 1.387 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/1.096, allocations: 87.89 kB / 1.458 GB, free: 1.301 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003549/1.1, allocations: 0.8022 MB / 1.458 GB, free: 0.4922 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.238e-05/1.1, allocations: 16 kB / 1.458 GB, free: 488 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007337/1.107, allocations: 4.858 MB / 1.463 GB, free: 11.34 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.107, allocations: 0 / 1.463 GB, free: 11.34 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005473/1.113, allocations: 2.148 MB / 1.465 GB, free: 9.152 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003725/1.113, allocations: 241.5 kB / 1.465 GB, free: 8.898 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/1.113, allocations: 15.98 kB / 1.466 GB, free: 8.883 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000573/1.114, allocations: 23.98 kB / 1.466 GB, free: 8.859 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/1.114, allocations: 48.44 kB / 1.466 GB, free: 8.812 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/1.114, allocations: 16 kB / 1.466 GB, free: 8.797 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006522/1.115, allocations: 0.5029 MB / 1.466 GB, free: 8.301 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.81e-07/1.115, allocations: 4 kB / 1.466 GB, free: 8.297 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000879/1.115, allocations: 283.8 kB / 1.466 GB, free: 8.02 MB / 1.154 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.006135/1.122, allocations: 2.826 MB / 1.469 GB, free: 5.148 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003554/1.125, allocations: 1.472 MB / 1.471 GB, free: 3.648 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.125, allocations: 0 / 1.471 GB, free: 3.648 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001887/1.127, allocations: 0.9186 MB / 1.471 GB, free: 2.707 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/1.129, allocations: 461.2 kB / 1.472 GB, free: 2.254 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03081/1.16, allocations: 10.45 MB / 1.482 GB, free: 7.621 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006305/1.161, allocations: 0.9789 MB / 1.483 GB, free: 6.617 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0005282/1.161, allocations: 166.6 kB / 1.483 GB, free: 6.449 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004274/1.162, allocations: 283.3 kB / 1.483 GB, free: 6.172 MB / 1.17 GB Notification: Performance of SimCode: time 4.21e-07/1.162, allocations: 0 / 1.483 GB, free: 6.172 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06597/1.228, allocations: 29.67 MB / 1.512 GB, free: 8.863 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/12.2, allocations: 3.047 kB / 1.512 GB, free: 8.863 MB / 1.201 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches