Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.NaturalVentilation,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation",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.004827/0.004827, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001122/0.001122, allocations: 193.3 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 1.226/1.226, 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 11.1.0-master/package.mo): time 2.358/2.358, allocations: 469.4 MB / 0.7422 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 71.88 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6975/0.6986, allocations: 159.1 MB / 1.22 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.182/0.8807, allocations: 202 MB / 1.417 GB, free: 7.547 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01017/0.8909, allocations: 7.399 MB / 1.424 GB, free: 132 kB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.8922, allocations: 35.81 kB / 1.424 GB, free: 96 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.8941, allocations: 0.7226 MB / 1.425 GB, free: 15.37 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005542/0.8997, allocations: 2.482 MB / 1.427 GB, free: 12.88 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002898/0.9026, allocations: 1.249 MB / 1.429 GB, free: 11.63 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003445/0.906, allocations: 2.927 MB / 1.431 GB, free: 8.695 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/0.9075, allocations: 0.947 MB / 1.432 GB, free: 7.73 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/0.9093, allocations: 1.059 MB / 1.433 GB, free: 6.668 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002048/0.9114, allocations: 0.9621 MB / 1.434 GB, free: 5.707 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003075/0.9117, allocations: 112 kB / 1.434 GB, free: 5.598 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004085/0.9158, allocations: 2.139 MB / 1.437 GB, free: 3.453 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006104/0.9164, allocations: 454.7 kB / 1.437 GB, free: 3.008 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.9176, allocations: 0.6611 MB / 1.438 GB, free: 2.344 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004066/0.9217, allocations: 2.411 MB / 1.44 GB, free: 15.93 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.9217, allocations: 0 / 1.44 GB, free: 15.93 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9218, allocations: 4 kB / 1.44 GB, free: 15.92 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.195e-05/0.9218, allocations: 0 / 1.44 GB, free: 15.92 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003699/0.9255, allocations: 1.657 MB / 1.442 GB, free: 14.21 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.9256, allocations: 12.62 kB / 1.442 GB, free: 14.2 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002241/0.9258, allocations: 139.2 kB / 1.442 GB, free: 14.05 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/0.9283, allocations: 374.9 kB / 1.442 GB, free: 13.69 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.9299, allocations: 0.8714 MB / 1.443 GB, free: 12.77 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.459e-05/0.9299, allocations: 62 kB / 1.443 GB, free: 12.71 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.9301, allocations: 84 kB / 1.443 GB, free: 12.63 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.9319, allocations: 1.042 MB / 1.444 GB, free: 11.55 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.9319, allocations: 3.953 kB / 1.444 GB, free: 11.55 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.01e-05/0.932, allocations: 32 kB / 1.444 GB, free: 11.52 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.265e-05/0.9321, allocations: 45.98 kB / 1.444 GB, free: 11.47 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.9336, allocations: 0.8939 MB / 1.445 GB, free: 10.58 MB / 1.17 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.004903/0.9385, allocations: 4.3 MB / 1.449 GB, free: 5.922 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.9397, allocations: 0.7012 MB / 1.45 GB, free: 5.215 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007647/0.9405, allocations: 466.8 kB / 1.45 GB, free: 4.758 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005715/0.941, allocations: 0.6732 MB / 1.451 GB, free: 3.938 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.9411, allocations: 43.12 kB / 1.451 GB, free: 3.887 MB / 1.17 GB Notification: Performance of pre-optimization done (n=70): time 2.795e-06/0.9411, allocations: 0 / 1.451 GB, free: 3.887 MB / 1.17 GB Notification: Performance of matching and sorting (n=70): time 0.001834/0.943, allocations: 0.9943 MB / 1.452 GB, free: 2.891 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.943, allocations: 59.97 kB / 1.452 GB, free: 2.816 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007755/0.9438, allocations: 0.6411 MB / 1.453 GB, free: 2.168 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.907e-05/0.9439, allocations: 37.7 kB / 1.453 GB, free: 2.125 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.9441, allocations: 444.8 kB / 1.453 GB, free: 1.684 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000223/0.9444, allocations: 261.7 kB / 1.453 GB, free: 1.426 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.9446, allocations: 122.3 kB / 1.454 GB, free: 1.301 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.9447, allocations: 386.8 kB / 1.454 GB, free: 0.9141 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/0.9452, allocations: 273.2 kB / 1.454 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004784/0.9456, allocations: 365 kB / 1.455 GB, free: 276 kB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009319/0.9466, allocations: 0.6586 MB / 1.455 GB, free: 15.59 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.9466, allocations: 4 kB / 1.455 GB, free: 15.59 MB / 1.186 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001238/0.9478, allocations: 0.7974 MB / 1.456 GB, free: 14.79 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.9479, allocations: 4 kB / 1.456 GB, free: 14.78 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.9479, allocations: 4 kB / 1.456 GB, free: 14.78 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.9479, allocations: 4 kB / 1.456 GB, free: 14.77 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/0.9485, allocations: 143.8 kB / 1.456 GB, free: 14.63 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.9485, allocations: 8.188 kB / 1.456 GB, free: 14.62 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007639/0.9493, allocations: 55.56 kB / 1.456 GB, free: 14.57 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/0.9494, allocations: 24 kB / 1.456 GB, free: 14.55 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003595/0.9497, allocations: 282.2 kB / 1.456 GB, free: 14.26 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.9499, allocations: 95.38 kB / 1.457 GB, free: 14.17 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.9512, allocations: 0.792 MB / 1.457 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.9513, allocations: 8 kB / 1.457 GB, free: 13.35 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.9513, allocations: 3.938 kB / 1.457 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009905/0.9523, allocations: 0.8153 MB / 1.458 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/0.9548, allocations: 1.853 MB / 1.46 GB, free: 10.57 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.9548, allocations: 4 kB / 1.46 GB, free: 10.57 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007766/0.9556, allocations: 167.8 kB / 1.46 GB, free: 10.41 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/0.9557, allocations: 4 kB / 1.46 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.158e-05/0.9557, allocations: 16 kB / 1.46 GB, free: 10.39 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.832e-06/0.9557, allocations: 4 kB / 1.46 GB, free: 10.38 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9557, allocations: 3.984 kB / 1.46 GB, free: 10.38 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.9574, allocations: 1.207 MB / 1.461 GB, free: 9.152 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004144/0.9578, allocations: 252.3 kB / 1.462 GB, free: 8.887 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.9579, allocations: 19.94 kB / 1.462 GB, free: 8.867 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006561/0.9586, allocations: 23.98 kB / 1.462 GB, free: 8.844 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.704e-05/0.9587, allocations: 40.5 kB / 1.462 GB, free: 8.805 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.983e-05/0.9588, allocations: 23.98 kB / 1.462 GB, free: 8.781 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004979/0.9593, allocations: 455 kB / 1.462 GB, free: 8.34 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9593, allocations: 0 / 1.462 GB, free: 8.34 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008712/0.9601, allocations: 339.4 kB / 1.462 GB, free: 8.008 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002088/0.9622, allocations: 1.829 MB / 1.464 GB, free: 6.148 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.9633, allocations: 0.6796 MB / 1.465 GB, free: 5.469 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.9633, allocations: 0 / 1.465 GB, free: 5.469 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0004974/0.9638, allocations: 371 kB / 1.465 GB, free: 5.105 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/0.9661, allocations: 0.5546 MB / 1.466 GB, free: 4.57 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009166/0.9753, allocations: 6.983 MB / 1.473 GB, free: 13.43 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006438/0.9759, allocations: 1.085 MB / 1.474 GB, free: 12.31 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0007766/0.9767, allocations: 227.2 kB / 1.474 GB, free: 12.09 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005452/0.9773, allocations: 359.3 kB / 1.474 GB, free: 11.73 MB / 1.201 GB Notification: Performance of SimCode: time 7.82e-07/0.9773, allocations: 0 / 1.474 GB, free: 11.73 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04783/1.025, allocations: 25.27 MB / 1.499 GB, free: 2.816 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.268/9.294, allocations: 18.3 kB / 1.499 GB, free: 2.801 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches