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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001888/0.001889, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002151/0.002151, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.393/1.393, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.566/2.566, allocations: 437 MB / 0.71 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.89 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6449/0.6463, allocations: 151.6 MB / 1.017 GB, free: 2.871 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2166/0.8629, allocations: 215.7 MB / 1.227 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02573/0.8887, allocations: 20.32 MB / 1.247 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002908/0.8916, allocations: 51.69 kB / 1.247 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003284/0.8949, allocations: 1.116 MB / 1.248 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01008/0.9051, allocations: 3.836 MB / 1.252 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.6329/1.538, allocations: 1.394 MB / 1.254 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01184/1.55, allocations: 6.959 MB / 1.26 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005767/1.556, allocations: 2.312 MB / 1.263 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009363/1.565, allocations: 2.398 MB / 1.265 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009608/1.575, allocations: 2.615 MB / 1.267 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002157/1.577, allocations: 343.8 kB / 1.268 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01119/1.588, allocations: 3.624 MB / 1.271 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002959/1.591, allocations: 1.454 MB / 1.273 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004577/1.596, allocations: 1.864 MB / 1.275 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01077/1.606, allocations: 5.961 MB / 1.28 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.607, allocations: 0.7188 kB / 1.28 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.953e-06/1.607, allocations: 0 / 1.28 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001317/1.607, allocations: 3.781 kB / 1.28 GB, free: 5.203 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.01047/1.617, allocations: 3.945 MB / 1.284 GB, free: 19.71 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/1.617, allocations: 8.281 kB / 1.284 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005035/1.622, allocations: 0.8309 MB / 1.285 GB, free: 19.54 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003561/1.626, allocations: 1.88 MB / 1.287 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/1.626, allocations: 205.1 kB / 1.287 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003725/1.626, allocations: 272.2 kB / 1.287 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005287/1.632, allocations: 3.278 MB / 1.291 GB, free: 18.9 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.919e-05/1.632, allocations: 4.156 kB / 1.291 GB, free: 18.9 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002687/1.632, allocations: 112.5 kB / 1.291 GB, free: 18.9 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/1.632, allocations: 122.9 kB / 1.291 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006608/1.639, allocations: 4.621 MB / 1.295 GB, free: 18.86 MB / 1.014 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.01571/1.654, allocations: 10.88 MB / 1.306 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005698/1.66, allocations: 4.86 MB / 1.311 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003312/1.664, allocations: 2.523 MB / 1.313 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/1.665, allocations: 0.8649 MB / 1.314 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.923e-05/1.665, allocations: 76.42 kB / 1.314 GB, free: 13.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 6.332e-06/1.665, allocations: 0 / 1.314 GB, free: 13.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.01032/1.675, allocations: 6.026 MB / 1.32 GB, free: 13.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/1.675, allocations: 96.58 kB / 1.32 GB, free: 13.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/1.678, allocations: 1.232 MB / 1.321 GB, free: 13.03 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003021/1.678, allocations: 93.08 kB / 1.321 GB, free: 13 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005904/1.678, allocations: 0.8089 MB / 1.322 GB, free: 12.67 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00112/1.68, allocations: 1.334 MB / 1.323 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008536/1.68, allocations: 0.5493 MB / 1.324 GB, free: 11.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001011/1.681, allocations: 304.8 kB / 1.324 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002323/1.683, allocations: 1.603 MB / 1.326 GB, free: 11.47 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00256/1.685, allocations: 1.904 MB / 1.328 GB, free: 11.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005214/1.691, allocations: 3.836 MB / 1.331 GB, free: 11.13 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/1.691, allocations: 0 / 1.331 GB, free: 11.13 MB / 1.014 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006412/1.697, allocations: 4.197 MB / 1.336 GB, free: 10.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/1.697, allocations: 7.375 kB / 1.336 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/1.697, allocations: 2.344 kB / 1.336 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/1.697, allocations: 17.31 kB / 1.336 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002738/1.7, allocations: 0.6845 MB / 1.336 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.398e-05/1.7, allocations: 17.09 kB / 1.336 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003292/1.703, allocations: 402.6 kB / 1.337 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/1.704, allocations: 116.6 kB / 1.337 GB, free: 10.67 MB / 1.014 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.001522/1.705, allocations: 0.7283 MB / 1.337 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005882/1.706, allocations: 237.5 kB / 1.338 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007371/1.713, allocations: 4.638 MB / 1.342 GB, free: 8.301 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.063e-05/1.713, allocations: 37.91 kB / 1.342 GB, free: 8.301 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/1.713, allocations: 4.906 kB / 1.342 GB, free: 8.297 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005881/1.719, allocations: 3.96 MB / 1.346 GB, free: 6.738 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01305/1.732, allocations: 8.275 MB / 1.354 GB, free: 1.312 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/1.732, allocations: 4.406 kB / 1.354 GB, free: 1.312 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003023/1.735, allocations: 0.6675 MB / 1.355 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004815/1.736, allocations: 136.7 kB / 1.355 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002707/1.736, allocations: 83.31 kB / 1.355 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004044/1.74, allocations: 5.048 MB / 1.36 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.74, allocations: 0 / 1.36 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/1.751, allocations: 6.812 MB / 1.367 GB, free: 4.301 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00203/1.753, allocations: 0.7666 MB / 1.367 GB, free: 3.512 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004457/1.753, allocations: 76.8 kB / 1.367 GB, free: 3.438 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002362/1.755, allocations: 215 kB / 1.368 GB, free: 3.246 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004384/1.756, allocations: 226.8 kB / 1.368 GB, free: 3.023 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002347/1.756, allocations: 108.9 kB / 1.368 GB, free: 2.918 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001177/1.757, allocations: 0.8606 MB / 1.369 GB, free: 2.055 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.233e-06/1.757, allocations: 0.9688 kB / 1.369 GB, free: 2.055 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002873/1.76, allocations: 1.087 MB / 1.37 GB, free: 0.9688 MB / 1.029 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.0006925/1.761, allocations: 344.3 kB / 1.37 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.02396/1.785, allocations: 11.49 MB / 1.381 GB, free: 5.273 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/1.785, allocations: 0 / 1.381 GB, free: 5.273 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003989/1.789, allocations: 2.551 MB / 1.384 GB, free: 2.758 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005738/1.795, allocations: 1.079 MB / 1.385 GB, free: 1.707 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/1.806, allocations: 7.833 MB / 1.393 GB, free: 9.852 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001579/1.808, allocations: 1.939 MB / 1.395 GB, free: 7.871 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.004296/1.812, allocations: 1.227 MB / 1.396 GB, free: 6.637 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009574/1.813, allocations: 239.4 kB / 1.396 GB, free: 6.402 MB / 1.061 GB Notification: Performance of SimCode: time 8.72e-07/1.813, allocations: 0 / 1.396 GB, free: 6.402 MB / 1.061 GB Notification: Performance of Templates: time 0.08205/1.895, allocations: 47.45 MB / 1.442 GB, free: 7.703 MB / 1.107 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