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.001227/0.001227, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.231/1.231, allocations: 222.9 MB / 240.2 MB, free: 4.402 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 2.355/2.355, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.89 kB / 0.8693 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5366/0.5379, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1738/0.7117, allocations: 192.6 MB / 1.206 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005915/0.7176, allocations: 4.02 MB / 1.209 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009617/0.7186, allocations: 23.88 kB / 1.209 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.72, allocations: 469 kB / 1.21 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003546/0.7236, allocations: 1.528 MB / 1.211 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003234/0.7269, allocations: 1.356 MB / 1.213 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002143/0.729, allocations: 1.639 MB / 1.214 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.7303, allocations: 0.9432 MB / 1.215 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.7321, allocations: 0.9229 MB / 1.216 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.7336, allocations: 0.8448 MB / 1.217 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003536/0.7339, allocations: 96 kB / 1.217 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002815/0.7368, allocations: 1.305 MB / 1.218 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005899/0.7374, allocations: 355 kB / 1.219 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009236/0.7383, allocations: 0.5134 MB / 1.219 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003096/0.7414, allocations: 1.617 MB / 1.221 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.7414, allocations: 0 / 1.221 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.887e-06/0.7414, allocations: 0 / 1.221 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.896e-05/0.7415, allocations: 3.938 kB / 1.221 GB, free: 1.43 MB / 0.9669 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.003514/0.745, allocations: 1.445 MB / 1.222 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.7451, allocations: 11.97 kB / 1.222 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.7452, allocations: 94.52 kB / 1.222 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.7468, allocations: 234.8 kB / 1.223 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009483/0.7478, allocations: 0.5876 MB / 1.223 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/0.7478, allocations: 41 kB / 1.223 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.748, allocations: 51.91 kB / 1.223 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.7494, allocations: 0.9648 MB / 1.224 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.7495, allocations: 0 / 1.224 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.637e-05/0.7495, allocations: 27.94 kB / 1.224 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/0.7496, allocations: 35.97 kB / 1.224 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.7511, allocations: 0.9367 MB / 1.225 GB, free: 12.83 MB / 0.9825 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.005406/0.7565, allocations: 4.254 MB / 1.229 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009455/0.7575, allocations: 0.6003 MB / 1.23 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007453/0.7583, allocations: 0.5231 MB / 1.23 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.7593, allocations: 0.8783 MB / 1.231 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.7593, allocations: 42.94 kB / 1.231 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001451/0.7608, allocations: 415.2 kB / 1.232 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=50): time 4.278e-06/0.7608, allocations: 4 kB / 1.232 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50): time 0.01806/0.7789, allocations: 3.833 MB / 1.235 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.7789, allocations: 59.78 kB / 1.235 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009611/0.7799, allocations: 0.7078 MB / 1.236 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.78, allocations: 33.7 kB / 1.236 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.7803, allocations: 328.6 kB / 1.236 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.7805, allocations: 173.4 kB / 1.237 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.7807, allocations: 150 kB / 1.237 GB, free: 400 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.7809, allocations: 334 kB / 1.237 GB, free: 60 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006735/0.7816, allocations: 392.9 kB / 1.237 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007339/0.7823, allocations: 485.5 kB / 1.238 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.7839, allocations: 0.9258 MB / 1.239 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.7839, allocations: 0 / 1.239 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01174/0.7956, allocations: 2.56 MB / 1.241 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.7957, allocations: 8 kB / 1.241 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.7957, allocations: 0 / 1.241 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009859/0.8055, allocations: 1.734 MB / 1.243 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.806, allocations: 99.81 kB / 1.243 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/0.8188, allocations: 7.143 MB / 1.25 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008069/0.8197, allocations: 20.05 kB / 1.25 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.8198, allocations: 47.92 kB / 1.25 GB, free: 2.289 MB / 0.9981 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.000378/0.8202, allocations: 205.7 kB / 1.25 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/0.8204, allocations: 79.31 kB / 1.25 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005269/0.8257, allocations: 1.745 MB / 1.252 GB, free: 244 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.892e-06/0.8257, allocations: 4 kB / 1.252 GB, free: 240 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.8258, allocations: 4 kB / 1.252 GB, free: 236 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.8258, allocations: 3.984 kB / 1.252 GB, free: 232 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4392/1.265, allocations: 2.54 MB / 1.255 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/1.265, allocations: 2.219 kB / 1.255 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004455/1.265, allocations: 91.47 kB / 1.255 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003571/1.269, allocations: 0.8025 MB / 1.256 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.318e-05/1.269, allocations: 15.5 kB / 1.256 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006348/1.275, allocations: 4.859 MB / 1.26 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.275, allocations: 5.375 kB / 1.26 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005478/1.281, allocations: 2.153 MB / 1.262 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004067/1.281, allocations: 234.8 kB / 1.263 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/1.282, allocations: 14.33 kB / 1.263 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006121/1.282, allocations: 23.33 kB / 1.263 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/1.282, allocations: 57.95 kB / 1.263 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/1.282, allocations: 32.23 kB / 1.263 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000689/1.283, allocations: 0.495 MB / 1.263 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.283, allocations: 0 / 1.263 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009758/1.284, allocations: 290.7 kB / 1.263 GB, free: 228.5 MB / 0.9981 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.006189/1.29, allocations: 2.798 MB / 1.266 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003656/1.294, allocations: 1.512 MB / 1.268 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/1.294, allocations: 0 / 1.268 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001795/1.296, allocations: 0.9186 MB / 1.269 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/1.298, allocations: 460.4 kB / 1.269 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02915/1.327, allocations: 10.7 MB / 1.279 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/1.328, allocations: 0.9767 MB / 1.28 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007288/1.328, allocations: 164.9 kB / 1.281 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/1.329, allocations: 282.5 kB / 1.281 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/1.329, allocations: 0 / 1.281 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04839/1.377, allocations: 29.44 MB / 1.31 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.127/10.5, allocations: 4.062 kB / 1.31 GB, free: 194.8 MB / 0.9981 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