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: 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.00162/0.001628, allocations: 106.3 kB / 15.99 MB, free: 6.355 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.001669/0.001669, allocations: 194.3 kB / 16.91 MB, free: 6.188 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.536/1.536, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.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.56/2.56, allocations: 390.2 MB / 0.665 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 66.31 kB / 0.8127 GB, free: 33.17 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3864, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 1.194/1.581, allocations: 215.7 MB / 1.16 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03549/1.617, allocations: 20.34 MB / 1.18 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006094/1.623, allocations: 46.47 kB / 1.18 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005599/1.628, allocations: 1.119 MB / 1.181 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01905/1.648, allocations: 3.841 MB / 1.185 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006615/1.654, allocations: 1.408 MB / 1.187 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01242/1.667, allocations: 6.963 MB / 1.193 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005604/1.672, allocations: 2.324 MB / 1.196 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00743/1.68, allocations: 2.389 MB / 1.198 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007911/1.688, allocations: 2.618 MB / 1.201 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.00205/1.69, allocations: 341.2 kB / 1.201 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01267/1.702, allocations: 3.628 MB / 1.204 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003524/1.706, allocations: 1.45 MB / 1.206 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.007893/1.714, allocations: 1.868 MB / 1.208 GB, free: 1.547 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01134/1.725, allocations: 4.312 MB / 1.212 GB, free: 15 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.725, allocations: 0 / 1.212 GB, free: 15 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.434e-06/1.725, allocations: 0 / 1.212 GB, free: 15 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002836/1.726, allocations: 0 / 1.212 GB, free: 15 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.01555/1.741, allocations: 3.943 MB / 1.216 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/1.741, allocations: 7.75 kB / 1.216 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006085/1.747, allocations: 0.8283 MB / 1.216 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005627/1.753, allocations: 1.889 MB / 1.218 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/1.753, allocations: 199.7 kB / 1.219 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001302/1.755, allocations: 271 kB / 1.219 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009981/1.765, allocations: 3.282 MB / 1.222 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/1.765, allocations: 0 / 1.222 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006798/1.765, allocations: 109.5 kB / 1.222 GB, free: 8.707 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001651/1.766, allocations: 124.3 kB / 1.222 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009795/1.775, allocations: 4.63 MB / 1.227 GB, free: 6.062 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.02134/1.797, allocations: 10.86 MB / 1.237 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007254/1.804, allocations: 4.865 MB / 1.242 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004066/1.808, allocations: 2.531 MB / 1.245 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/1.809, allocations: 0.863 MB / 1.245 GB, free: 2.191 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.65e-05/1.81, allocations: 73.7 kB / 1.245 GB, free: 2.109 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=399): time 7.915e-06/1.81, allocations: 4 kB / 1.245 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of matching and sorting (n=399): time 0.01174/1.821, allocations: 6.023 MB / 1.251 GB, free: 11.99 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.526e-05/1.821, allocations: 98.53 kB / 1.251 GB, free: 11.88 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002681/1.824, allocations: 1.232 MB / 1.253 GB, free: 10.64 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004487/1.825, allocations: 93.7 kB / 1.253 GB, free: 10.55 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000781/1.825, allocations: 0.8126 MB / 1.254 GB, free: 9.727 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001852/1.827, allocations: 1.327 MB / 1.255 GB, free: 8.41 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00131/1.829, allocations: 0.5469 MB / 1.255 GB, free: 7.855 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.829, allocations: 305.1 kB / 1.256 GB, free: 7.555 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003113/1.832, allocations: 1.603 MB / 1.257 GB, free: 5.949 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003434/1.835, allocations: 1.909 MB / 1.259 GB, free: 3.996 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00682/1.842, allocations: 3.831 MB / 1.263 GB, free: 108 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.239e-05/1.842, allocations: 0 / 1.263 GB, free: 108 kB / 0.92 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008297/1.85, allocations: 4.195 MB / 1.267 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.267e-05/1.851, allocations: 7.938 kB / 1.267 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/1.851, allocations: 4 kB / 1.267 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.556e-05/1.851, allocations: 20 kB / 1.267 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003137/1.854, allocations: 0.683 MB / 1.268 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001063/1.854, allocations: 23.98 kB / 1.268 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00408/1.858, allocations: 393.1 kB / 1.268 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003641/1.858, allocations: 112 kB / 1.268 GB, free: 10.65 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.002089/1.86, allocations: 0.739 MB / 1.269 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009919/1.861, allocations: 241.1 kB / 1.269 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008407/1.87, allocations: 4.629 MB / 1.274 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.658e-05/1.87, allocations: 43.94 kB / 1.274 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-05/1.87, allocations: 7.938 kB / 1.274 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006214/1.876, allocations: 3.95 MB / 1.278 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/1.891, allocations: 8.275 MB / 1.286 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/1.891, allocations: 3.938 kB / 1.286 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002926/1.894, allocations: 0.6593 MB / 1.286 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005112/1.894, allocations: 138.5 kB / 1.286 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003079/1.895, allocations: 87.91 kB / 1.286 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004261/1.899, allocations: 5.035 MB / 1.291 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.899, allocations: 0 / 1.291 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01126/1.91, allocations: 6.826 MB / 1.298 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002119/1.912, allocations: 0.7627 MB / 1.299 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007064/1.913, allocations: 68 kB / 1.299 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002873/1.916, allocations: 215.7 kB / 1.299 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004678/1.917, allocations: 226.8 kB / 1.299 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002841/1.917, allocations: 112 kB / 1.299 GB, free: 10 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001736/1.919, allocations: 0.8606 MB / 1.3 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/1.919, allocations: 0 / 1.3 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003939/1.923, allocations: 1.088 MB / 1.301 GB, free: 8.047 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.0008741/1.923, allocations: 354.4 kB / 1.302 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.02345/1.947, allocations: 11.48 MB / 1.313 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/1.947, allocations: 4 kB / 1.313 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004486/1.951, allocations: 2.548 MB / 1.315 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006577/1.958, allocations: 1.086 MB / 1.316 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/1.972, allocations: 7.984 MB / 1.324 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002185/1.974, allocations: 1.939 MB / 1.326 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001786/1.976, allocations: 283.4 kB / 1.326 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of SimCode: time 1.673e-06/1.976, allocations: 0 / 1.326 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of Templates: time 0.0892/2.065, allocations: 58.04 MB / 1.383 GB, free: 4.336 MB / 1.045 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 -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