Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001307/0.001307, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.651/2.651, allocations: 437.7 MB / 0.7117 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003482, allocations: 15.94 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6075/0.6079, allocations: 153.8 MB / 1.022 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2022/0.8101, allocations: 199 MB / 1.217 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02371/0.8338, allocations: 19.08 MB / 1.235 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002001/0.8359, allocations: 43.75 kB / 1.235 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002317/0.8382, allocations: 0.8193 MB / 1.236 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008146/0.8464, allocations: 3.038 MB / 1.239 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003351/0.8497, allocations: 1.059 MB / 1.24 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.5593/1.409, allocations: 8.022 MB / 1.248 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003745/1.413, allocations: 1.732 MB / 1.25 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006192/1.419, allocations: 2.01 MB / 1.252 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006215/1.425, allocations: 2.393 MB / 1.254 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00107/1.426, allocations: 160.8 kB / 1.254 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006325/1.433, allocations: 1.731 MB / 1.256 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002266/1.435, allocations: 1.262 MB / 1.257 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002506/1.438, allocations: 0.6299 MB / 1.258 GB, free: 25.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006234/1.444, allocations: 3.959 MB / 1.262 GB, free: 25.51 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.444, allocations: 0 / 1.262 GB, free: 25.51 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.074e-06/1.444, allocations: 0.7812 kB / 1.262 GB, free: 25.51 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001489/1.444, allocations: 0 / 1.262 GB, free: 25.51 MB / 0.9981 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.009491/1.453, allocations: 3.492 MB / 1.265 GB, free: 24.04 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.454, allocations: 9.312 kB / 1.265 GB, free: 24.04 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005125/1.459, allocations: 0.8307 MB / 1.266 GB, free: 23.87 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003826/1.463, allocations: 1.83 MB / 1.268 GB, free: 23.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/1.463, allocations: 198.9 kB / 1.268 GB, free: 23.42 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004951/1.463, allocations: 276.9 kB / 1.268 GB, free: 23.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005481/1.469, allocations: 3.261 MB / 1.271 GB, free: 23.28 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.953e-05/1.469, allocations: 3.25 kB / 1.271 GB, free: 23.28 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002772/1.469, allocations: 110.4 kB / 1.271 GB, free: 23.28 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/1.469, allocations: 123.7 kB / 1.272 GB, free: 23.27 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006841/1.476, allocations: 4.606 MB / 1.276 GB, free: 23.23 MB / 0.9981 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.01567/1.492, allocations: 10.89 MB / 1.287 GB, free: 19.35 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005538/1.497, allocations: 4.843 MB / 1.291 GB, free: 19.05 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003194/1.5, allocations: 2.514 MB / 1.294 GB, free: 19.02 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/1.502, allocations: 0.8753 MB / 1.295 GB, free: 18.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.7e-05/1.502, allocations: 75.67 kB / 1.295 GB, free: 18.12 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=399): time 5.701e-06/1.502, allocations: 0 / 1.295 GB, free: 18.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=399): time 0.008801/1.51, allocations: 6.001 MB / 1.301 GB, free: 17.54 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/1.511, allocations: 94.89 kB / 1.301 GB, free: 17.48 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/1.512, allocations: 1.218 MB / 1.302 GB, free: 17.33 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002935/1.512, allocations: 97.45 kB / 1.302 GB, free: 17.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004424/1.513, allocations: 0.8117 MB / 1.303 GB, free: 16.97 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009347/1.514, allocations: 1.331 MB / 1.304 GB, free: 16.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/1.514, allocations: 62.94 kB / 1.304 GB, free: 16.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002441/1.514, allocations: 443.9 kB / 1.305 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/1.517, allocations: 1.596 MB / 1.306 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002401/1.519, allocations: 1.893 MB / 1.308 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002574/1.522, allocations: 1.886 MB / 1.31 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/1.522, allocations: 0 / 1.31 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006104/1.528, allocations: 4.182 MB / 1.314 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/1.528, allocations: 8.375 kB / 1.314 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/1.528, allocations: 3.375 kB / 1.314 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/1.528, allocations: 18.47 kB / 1.314 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002724/1.53, allocations: 0.682 MB / 1.315 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.832e-05/1.531, allocations: 22.5 kB / 1.315 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002941/1.533, allocations: 407.2 kB / 1.315 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/1.534, allocations: 113.5 kB / 1.315 GB, free: 15.17 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001321/1.535, allocations: 0.7267 MB / 1.316 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004725/1.536, allocations: 246.2 kB / 1.316 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007026/1.543, allocations: 4.623 MB / 1.321 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/1.543, allocations: 37.69 kB / 1.321 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/1.543, allocations: 3.953 kB / 1.321 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005232/1.548, allocations: 3.945 MB / 1.324 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01222/1.56, allocations: 8.267 MB / 1.333 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.56, allocations: 3.844 kB / 1.333 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002848/1.563, allocations: 0.6602 MB / 1.333 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004171/1.563, allocations: 138.1 kB / 1.333 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002572/1.564, allocations: 88.88 kB / 1.333 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003395/1.567, allocations: 4.526 MB / 1.338 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.567, allocations: 0 / 1.338 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009912/1.577, allocations: 6.793 MB / 1.344 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002005/1.579, allocations: 0.7568 MB / 1.345 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004634/1.58, allocations: 67.81 kB / 1.345 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002264/1.582, allocations: 224.5 kB / 1.345 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004072/1.582, allocations: 233.4 kB / 1.346 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002376/1.582, allocations: 108.6 kB / 1.346 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001243/1.584, allocations: 0.85 MB / 1.347 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/1.584, allocations: 0 / 1.347 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003842/1.588, allocations: 1.083 MB / 1.348 GB, free: 1.473 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008071/1.588, allocations: 347.2 kB / 1.348 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006088/1.595, allocations: 4.019 MB / 1.352 GB, free: 14.47 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.595, allocations: 4 kB / 1.352 GB, free: 14.46 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003647/1.598, allocations: 2.542 MB / 1.354 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004904/1.603, allocations: 1.037 MB / 1.355 GB, free: 11.85 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/1.614, allocations: 7.881 MB / 1.363 GB, free: 4.898 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001642/1.616, allocations: 1.935 MB / 1.365 GB, free: 3.023 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.004064/1.62, allocations: 1.231 MB / 1.366 GB, free: 1.785 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000953/1.621, allocations: 240.9 kB / 1.366 GB, free: 1.562 MB / 1.014 GB Notification: Performance of SimCode: time 1.203e-06/1.621, allocations: 0 / 1.366 GB, free: 1.562 MB / 1.014 GB Notification: Performance of Templates: time 0.07205/1.693, allocations: 43.65 MB / 1.409 GB, free: 6.609 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches