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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: 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_9_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_9_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.001498/0.001498, allocations: 102.2 kB / 16.35 MB, free: 5.887 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.001628/0.001628, allocations: 189.8 kB / 17.29 MB, free: 5.527 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.183/2.183, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.28 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2411, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.7141/0.9552, allocations: 218.5 MB / 1.164 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02425/0.9795, allocations: 20.42 MB / 1.184 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003213/0.9827, allocations: 58.62 kB / 1.185 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003428/0.9862, allocations: 1.245 MB / 1.186 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.9976, allocations: 4.088 MB / 1.19 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004352/1.002, allocations: 1.536 MB / 1.191 GB, free: 9.91 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.008853/1.011, allocations: 6.975 MB / 1.198 GB, free: 6.238 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003206/1.014, allocations: 2.364 MB / 1.2 GB, free: 4.781 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004514/1.019, allocations: 2.368 MB / 1.203 GB, free: 3.461 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005196/1.024, allocations: 2.449 MB / 1.205 GB, free: 2.012 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0008673/1.025, allocations: 347.1 kB / 1.205 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008402/1.033, allocations: 3.458 MB / 1.209 GB, free: 216 kB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002005/1.035, allocations: 1.454 MB / 1.21 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003817/1.039, allocations: 1.869 MB / 1.212 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0106/1.05, allocations: 5.765 MB / 1.218 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/1.05, allocations: 0 / 1.218 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.234e-06/1.05, allocations: 3.938 kB / 1.218 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000121/1.05, allocations: 1.812 kB / 1.218 GB, free: 10.3 MB / 0.8887 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.01037/1.06, allocations: 3.94 MB / 1.221 GB, free: 7.773 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/1.06, allocations: 14.06 kB / 1.221 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005101/1.065, allocations: 0.8188 MB / 1.222 GB, free: 7.383 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004653/1.07, allocations: 1.941 MB / 1.224 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/1.07, allocations: 201.6 kB / 1.224 GB, free: 5.93 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004737/1.071, allocations: 264.7 kB / 1.225 GB, free: 5.844 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00539/1.076, allocations: 3.288 MB / 1.228 GB, free: 4 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.834e-05/1.076, allocations: 1.375 kB / 1.228 GB, free: 4 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00028/1.077, allocations: 111 kB / 1.228 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/1.077, allocations: 126.6 kB / 1.228 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007254/1.084, allocations: 4.628 MB / 1.233 GB, free: 0.6445 MB / 0.8887 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.01676/1.101, allocations: 10.91 MB / 1.243 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006012/1.107, allocations: 4.88 MB / 1.248 GB, free: 144 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003497/1.11, allocations: 2.512 MB / 1.25 GB, free: 13.62 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/1.111, allocations: 0.8679 MB / 1.251 GB, free: 12.59 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.418e-05/1.111, allocations: 81.69 kB / 1.251 GB, free: 12.5 MB / 0.92 GB Notification: Performance of pre-optimization done (n=399): time 5.571e-06/1.111, allocations: 0 / 1.251 GB, free: 12.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=399): time 0.009587/1.121, allocations: 6.023 MB / 1.257 GB, free: 6.391 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/1.121, allocations: 94.55 kB / 1.257 GB, free: 6.285 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/1.123, allocations: 1.228 MB / 1.259 GB, free: 5.051 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002396/1.123, allocations: 93.7 kB / 1.259 GB, free: 4.953 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005857/1.124, allocations: 0.8096 MB / 1.259 GB, free: 4.133 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001104/1.125, allocations: 1.336 MB / 1.261 GB, free: 2.777 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008221/1.126, allocations: 0.5468 MB / 1.261 GB, free: 2.223 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.518e-05/1.126, allocations: 305.1 kB / 1.262 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002414/1.128, allocations: 1.611 MB / 1.263 GB, free: 316 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00265/1.131, allocations: 1.905 MB / 1.265 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005484/1.136, allocations: 3.827 MB / 1.269 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/1.136, allocations: 4 kB / 1.269 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006477/1.143, allocations: 4.195 MB / 1.273 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/1.143, allocations: 8.344 kB / 1.273 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/1.143, allocations: 8 kB / 1.273 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.032e-05/1.143, allocations: 16 kB / 1.273 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002766/1.146, allocations: 0.6787 MB / 1.274 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.603e-05/1.146, allocations: 23.98 kB / 1.274 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/1.148, allocations: 241.3 kB / 1.274 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002251/1.148, allocations: 108 kB / 1.274 GB, free: 5.168 MB / 0.9356 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.001311/1.15, allocations: 0.7312 MB / 1.275 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005037/1.15, allocations: 241.1 kB / 1.275 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00736/1.157, allocations: 4.625 MB / 1.279 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.207e-05/1.157, allocations: 47.94 kB / 1.279 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/1.157, allocations: 0 / 1.279 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005961/1.163, allocations: 3.961 MB / 1.283 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/1.177, allocations: 8.266 MB / 1.291 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/1.177, allocations: 0 / 1.291 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002878/1.18, allocations: 0.6631 MB / 1.292 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004742/1.18, allocations: 142.5 kB / 1.292 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000249/1.181, allocations: 87.91 kB / 1.292 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004133/1.185, allocations: 5.031 MB / 1.297 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.185, allocations: 0 / 1.297 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/1.195, allocations: 6.82 MB / 1.304 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00215/1.197, allocations: 0.7666 MB / 1.305 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004933/1.198, allocations: 72 kB / 1.305 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/1.2, allocations: 88.5 kB / 1.305 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004206/1.2, allocations: 222.8 kB / 1.305 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000241/1.2, allocations: 112 kB / 1.305 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001206/1.202, allocations: 0.8606 MB / 1.306 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2e-07/1.202, allocations: 0 / 1.306 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002524/1.204, allocations: 1.076 MB / 1.307 GB, free: 2.668 MB / 0.9669 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.0006556/1.205, allocations: 338.6 kB / 1.307 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006082/1.211, allocations: 4.067 MB / 1.311 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.211, allocations: 4 kB / 1.311 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003559/1.215, allocations: 2.548 MB / 1.314 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0047/1.219, allocations: 1.074 MB / 1.315 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/1.23, allocations: 6.595 MB / 1.321 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/1.231, allocations: 1.939 MB / 1.323 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00367/1.235, allocations: 1.223 MB / 1.324 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009113/1.236, allocations: 235.4 kB / 1.324 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/1.236, allocations: 3.938 kB / 1.324 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of Templates: time 0.07557/1.311, allocations: 47.61 MB / 1.371 GB, free: 1.445 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (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 & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/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