Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_9_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.001399/0.0014, allocations: 108 kB / 15.6 MB, free: 132 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.002701/0.002701, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.443/2.443, allocations: 390.3 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 67.89 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9111/0.9126, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2298/1.142, allocations: 192.6 MB / 1.138 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006636/1.149, allocations: 4.029 MB / 1.142 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000942/1.15, allocations: 15.94 kB / 1.142 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/1.151, allocations: 477 kB / 1.142 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003698/1.155, allocations: 1.528 MB / 1.144 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003582/1.159, allocations: 1.353 MB / 1.145 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002555/1.161, allocations: 1.626 MB / 1.147 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/1.163, allocations: 0.9509 MB / 1.148 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/1.164, allocations: 0.9228 MB / 1.148 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/1.165, allocations: 0.8526 MB / 1.149 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000155/1.165, allocations: 92 kB / 1.149 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/1.168, allocations: 1.305 MB / 1.151 GB, free: 3.328 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003793/1.169, allocations: 358.9 kB / 1.151 GB, free: 2.977 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005553/1.169, allocations: 0.5172 MB / 1.151 GB, free: 2.457 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002924/1.172, allocations: 1.613 MB / 1.153 GB, free: 0.8398 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/1.172, allocations: 0 / 1.153 GB, free: 0.8398 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.763e-06/1.172, allocations: 0 / 1.153 GB, free: 0.8398 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.346e-05/1.172, allocations: 4 kB / 1.153 GB, free: 0.8359 MB / 0.9044 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.003052/1.175, allocations: 1.443 MB / 1.154 GB, free: 15.34 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/1.175, allocations: 8.031 kB / 1.154 GB, free: 15.34 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001368/1.176, allocations: 94.5 kB / 1.155 GB, free: 15.23 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/1.177, allocations: 238.7 kB / 1.155 GB, free: 15 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008366/1.178, allocations: 0.5953 MB / 1.155 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/1.178, allocations: 37 kB / 1.155 GB, free: 14.33 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/1.178, allocations: 52 kB / 1.155 GB, free: 14.28 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/1.18, allocations: 0.9648 MB / 1.156 GB, free: 13.24 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/1.18, allocations: 3.906 kB / 1.156 GB, free: 13.23 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.656e-05/1.18, allocations: 28 kB / 1.156 GB, free: 13.21 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.75e-05/1.18, allocations: 31.92 kB / 1.156 GB, free: 13.18 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/1.181, allocations: 0.9328 MB / 1.157 GB, free: 12.25 MB / 0.92 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.005271/1.186, allocations: 4.27 MB / 1.162 GB, free: 7.797 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009417/1.187, allocations: 0.5939 MB / 1.162 GB, free: 7.195 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007505/1.188, allocations: 0.5175 MB / 1.163 GB, free: 6.676 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/1.189, allocations: 0.8744 MB / 1.163 GB, free: 5.617 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/1.189, allocations: 43 kB / 1.164 GB, free: 5.566 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001421/1.191, allocations: 415.2 kB / 1.164 GB, free: 5.16 MB / 0.92 GB Notification: Performance of pre-optimization done (n=50): time 2.585e-06/1.191, allocations: 3.938 kB / 1.164 GB, free: 5.156 MB / 0.92 GB Notification: Performance of matching and sorting (n=50): time 0.01727/1.208, allocations: 3.837 MB / 1.168 GB, free: 1.266 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/1.208, allocations: 59.78 kB / 1.168 GB, free: 1.195 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/1.209, allocations: 0.7078 MB / 1.168 GB, free: 488 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001375/1.209, allocations: 33.7 kB / 1.168 GB, free: 448 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/1.21, allocations: 320.6 kB / 1.169 GB, free: 120 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/1.21, allocations: 177.5 kB / 1.169 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/1.21, allocations: 150.1 kB / 1.169 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.21, allocations: 326 kB / 1.169 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000653/1.211, allocations: 396.9 kB / 1.17 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007375/1.212, allocations: 493.5 kB / 1.17 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/1.213, allocations: 0.9219 MB / 1.171 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/1.213, allocations: 4 kB / 1.171 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01123/1.224, allocations: 2.556 MB / 1.174 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/1.225, allocations: 4 kB / 1.174 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/1.225, allocations: 4.125 kB / 1.174 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009417/1.234, allocations: 1.741 MB / 1.175 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005436/1.235, allocations: 91.88 kB / 1.175 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/1.247, allocations: 7.147 MB / 1.182 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/1.248, allocations: 20.05 kB / 1.182 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/1.249, allocations: 43.94 kB / 1.182 GB, free: 1.691 MB / 0.9356 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.0005073/1.249, allocations: 206.5 kB / 1.183 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/1.249, allocations: 83.06 kB / 1.183 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00513/1.254, allocations: 1.746 MB / 1.184 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/1.254, allocations: 8 kB / 1.184 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/1.254, allocations: 7.938 kB / 1.184 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/1.254, allocations: 3.984 kB / 1.184 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006115/1.261, allocations: 2.536 MB / 1.187 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/1.261, allocations: 4 kB / 1.187 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004611/1.261, allocations: 91.88 kB / 1.187 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003458/1.265, allocations: 0.8056 MB / 1.188 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.907e-05/1.265, allocations: 16 kB / 1.188 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007048/1.272, allocations: 4.851 MB / 1.193 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.272, allocations: 4 kB / 1.193 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005634/1.277, allocations: 2.147 MB / 1.195 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007021/1.278, allocations: 228.2 kB / 1.195 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003062/1.278, allocations: 19.98 kB / 1.195 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006978/1.279, allocations: 24.11 kB / 1.195 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/1.279, allocations: 56.42 kB / 1.195 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.013e-05/1.279, allocations: 20 kB / 1.195 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007446/1.28, allocations: 0.5029 MB / 1.196 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.28, allocations: 0 / 1.196 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001184/1.281, allocations: 283.8 kB / 1.196 GB, free: 3.609 MB / 0.9512 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.006218/1.288, allocations: 2.818 MB / 1.199 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003922/1.292, allocations: 1.515 MB / 1.2 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.292, allocations: 0 / 1.2 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001965/1.294, allocations: 0.9187 MB / 1.201 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/1.296, allocations: 452.5 kB / 1.201 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03403/1.33, allocations: 10.69 MB / 1.212 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008131/1.331, allocations: 0.975 MB / 1.213 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009689/1.332, allocations: 162.6 kB / 1.213 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005163/1.333, allocations: 283.3 kB / 1.213 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of SimCode: time 2.024e-06/1.333, allocations: 3.938 kB / 1.213 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08351/1.416, allocations: 29.44 MB / 1.242 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/12.27, allocations: 21.41 kB / 1.242 GB, free: 4.402 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches