Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors",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.001279/0.001283, 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.001429/0.001429, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.559/1.559, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.702/2.702, allocations: 390.2 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108/1.109, allocations: 140.4 MB / 0.9497 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.5031/1.612, allocations: 218.5 MB / 1.163 GB, free: 6.57 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.04316/1.655, allocations: 20.43 MB / 1.183 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003463/1.659, allocations: 59.69 kB / 1.183 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003982/1.663, allocations: 1.251 MB / 1.184 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0136/1.676, allocations: 4.083 MB / 1.188 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005135/1.681, allocations: 1.527 MB / 1.19 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01262/1.694, allocations: 6.968 MB / 1.197 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006232/1.7, allocations: 2.364 MB / 1.199 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007296/1.708, allocations: 2.352 MB / 1.201 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007652/1.715, allocations: 2.461 MB / 1.204 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.002147/1.718, allocations: 344 kB / 1.204 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01764/1.735, allocations: 3.473 MB / 1.207 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.006982/1.742, allocations: 1.454 MB / 1.209 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.006463/1.749, allocations: 1.855 MB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01842/1.767, allocations: 5.722 MB / 1.216 GB, free: 52 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/1.767, allocations: 3.984 kB / 1.216 GB, free: 48 kB / 0.9669 GB Notification: Performance of FrontEnd: time 2.936e-06/1.767, allocations: 0 / 1.216 GB, free: 48 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0002593/1.768, allocations: 0 / 1.216 GB, free: 48 kB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01501/1.783, allocations: 3.945 MB / 1.22 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/1.783, allocations: 12.02 kB / 1.22 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001384/1.784, allocations: 387.8 kB / 1.22 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005709/1.79, allocations: 0.8275 MB / 1.221 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004564/1.794, allocations: 1.879 MB / 1.223 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/1.795, allocations: 201.4 kB / 1.223 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000483/1.795, allocations: 268 kB / 1.223 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005935/1.801, allocations: 3.283 MB / 1.227 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.819e-05/1.801, allocations: 7.906 kB / 1.227 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002644/1.801, allocations: 108 kB / 1.227 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/1.801, allocations: 129.3 kB / 1.227 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007593/1.809, allocations: 4.619 MB / 1.231 GB, free: 216 kB / 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.01824/1.827, allocations: 10.98 MB / 1.242 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5939/2.421, allocations: 4.861 MB / 1.247 GB, free: 281.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006093/2.427, allocations: 2.522 MB / 1.249 GB, free: 280.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/2.429, allocations: 0.8627 MB / 1.25 GB, free: 280.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.571e-05/2.429, allocations: 82.05 kB / 1.25 GB, free: 280 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=399): time 6.993e-06/2.429, allocations: 1.969 kB / 1.25 GB, free: 280 MB / 0.9981 GB Notification: Performance of matching and sorting (n=399): time 0.01352/2.442, allocations: 6.024 MB / 1.256 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/2.443, allocations: 92.8 kB / 1.256 GB, free: 277.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002354/2.445, allocations: 1.227 MB / 1.257 GB, free: 277.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003158/2.445, allocations: 94.08 kB / 1.258 GB, free: 277.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005197/2.446, allocations: 0.817 MB / 1.258 GB, free: 276.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001055/2.447, allocations: 1.331 MB / 1.26 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008124/2.448, allocations: 0.5455 MB / 1.26 GB, free: 275.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.127e-05/2.448, allocations: 304.8 kB / 1.26 GB, free: 275 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002625/2.45, allocations: 1.606 MB / 1.262 GB, free: 274.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002708/2.453, allocations: 1.902 MB / 1.264 GB, free: 273.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005701/2.459, allocations: 3.838 MB / 1.268 GB, free: 272 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.368e-05/2.459, allocations: 4.531 kB / 1.268 GB, free: 272 MB / 0.9981 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007105/2.466, allocations: 4.189 MB / 1.272 GB, free: 270 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/2.466, allocations: 7.438 kB / 1.272 GB, free: 270 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/2.466, allocations: 3.062 kB / 1.272 GB, free: 270 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.694e-05/2.466, allocations: 19.78 kB / 1.272 GB, free: 270 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00287/2.469, allocations: 0.6825 MB / 1.272 GB, free: 269.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-05/2.469, allocations: 20.77 kB / 1.272 GB, free: 269.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/2.472, allocations: 235.2 kB / 1.273 GB, free: 269.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002348/2.472, allocations: 118.6 kB / 1.273 GB, free: 269.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * 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.001429/2.473, allocations: 0.7308 MB / 1.274 GB, free: 269.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006636/2.474, allocations: 240.6 kB / 1.274 GB, free: 269 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006798/2.481, allocations: 4.634 MB / 1.278 GB, free: 266.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/2.481, allocations: 43.5 kB / 1.278 GB, free: 266.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/2.481, allocations: 0 / 1.278 GB, free: 266.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004622/2.485, allocations: 3.96 MB / 1.282 GB, free: 264.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/2.496, allocations: 8.279 MB / 1.29 GB, free: 259.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/2.496, allocations: 7.703 kB / 1.29 GB, free: 259.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002517/2.499, allocations: 0.6613 MB / 1.291 GB, free: 259.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004119/2.499, allocations: 142.4 kB / 1.291 GB, free: 258.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001776/2.499, allocations: 79.98 kB / 1.291 GB, free: 258.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002626/2.502, allocations: 5.038 MB / 1.296 GB, free: 253.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/2.502, allocations: 2.594 kB / 1.296 GB, free: 253.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008005/2.51, allocations: 6.817 MB / 1.303 GB, free: 246.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/2.511, allocations: 0.7589 MB / 1.303 GB, free: 245.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000318/2.512, allocations: 67.98 kB / 1.304 GB, free: 245.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/2.514, allocations: 89.09 kB / 1.304 GB, free: 245.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003664/2.514, allocations: 225.9 kB / 1.304 GB, free: 245.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001729/2.514, allocations: 112 kB / 1.304 GB, free: 245.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009759/2.515, allocations: 0.8606 MB / 1.305 GB, free: 244.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.342e-06/2.515, allocations: 0 / 1.305 GB, free: 244.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002302/2.517, allocations: 1.076 MB / 1.306 GB, free: 243.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00817/2.526, allocations: 7.602 MB / 1.313 GB, free: 235.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01924/2.545, allocations: 11.48 MB / 1.324 GB, free: 224.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/2.545, allocations: 4 kB / 1.324 GB, free: 224.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003025/2.548, allocations: 2.551 MB / 1.327 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004933/2.553, allocations: 1.069 MB / 1.328 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03022/2.583, allocations: 24.96 MB / 1.352 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/2.584, allocations: 1.946 MB / 1.354 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003209/2.588, allocations: 1.223 MB / 1.355 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/2.589, allocations: 1.093 MB / 1.357 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.252e-06/2.589, allocations: 0 / 1.357 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.233/4.822, allocations: 66.15 MB / 1.421 GB, free: 124.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/17.54, allocations: 6.594 kB / 1.421 GB, free: 124.8 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches