Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001272/0.001272, allocations: 100.6 kB / 16.41 MB, free: 5.977 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.001211/0.001211, allocations: 192.8 kB / 17.34 MB, free: 5.586 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.4/2.4, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 64.31 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7554/0.7568, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2036/0.9604, allocations: 218.5 MB / 1.422 GB, free: 2.312 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02492/0.9854, allocations: 20.44 MB / 1.442 GB, free: 13.81 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002483/0.9879, allocations: 59.69 kB / 1.442 GB, free: 13.75 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.003194/0.9911, allocations: 1.247 MB / 1.443 GB, free: 12.5 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.009931/1.001, allocations: 4.076 MB / 1.447 GB, free: 8.406 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00408/1.005, allocations: 1.545 MB / 1.449 GB, free: 6.867 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.007899/1.013, allocations: 6.959 MB / 1.455 GB, free: 15.89 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003443/1.017, allocations: 2.364 MB / 1.458 GB, free: 13.48 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004129/1.021, allocations: 2.395 MB / 1.46 GB, free: 11.08 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004506/1.025, allocations: 2.457 MB / 1.462 GB, free: 8.621 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.001022/1.026, allocations: 344 kB / 1.463 GB, free: 8.285 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006971/1.033, allocations: 3.457 MB / 1.466 GB, free: 4.82 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001979/1.035, allocations: 1.461 MB / 1.467 GB, free: 3.355 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.003576/1.039, allocations: 1.863 MB / 1.469 GB, free: 1.484 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.009267/1.048, allocations: 5.771 MB / 1.475 GB, free: 11.7 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.048, allocations: 0 / 1.475 GB, free: 11.7 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.823e-06/1.048, allocations: 0 / 1.475 GB, free: 11.7 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001702/1.048, allocations: 0 / 1.475 GB, free: 11.7 MB / 1.201 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.01057/1.059, allocations: 3.937 MB / 1.479 GB, free: 7.699 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/1.059, allocations: 8.031 kB / 1.479 GB, free: 7.691 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004934/1.064, allocations: 0.8353 MB / 1.48 GB, free: 6.852 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003531/1.067, allocations: 1.929 MB / 1.482 GB, free: 4.863 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/1.068, allocations: 201.4 kB / 1.482 GB, free: 4.664 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003612/1.068, allocations: 275.9 kB / 1.482 GB, free: 4.395 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004942/1.073, allocations: 3.279 MB / 1.485 GB, free: 1.074 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.814e-05/1.073, allocations: 4 kB / 1.485 GB, free: 1.07 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/1.073, allocations: 108 kB / 1.485 GB, free: 0.9648 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/1.073, allocations: 129.3 kB / 1.485 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006259/1.08, allocations: 4.623 MB / 1.49 GB, free: 12.2 MB / 1.217 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.01415/1.094, allocations: 10.92 MB / 1.501 GB, free: 0.6016 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005335/1.099, allocations: 4.873 MB / 1.505 GB, free: 11.69 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003136/1.102, allocations: 2.528 MB / 1.508 GB, free: 9.16 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009386/1.103, allocations: 0.8604 MB / 1.509 GB, free: 8.133 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/1.103, allocations: 81.62 kB / 1.509 GB, free: 8.043 MB / 1.232 GB Notification: Performance of pre-optimization done (n=399): time 7.154e-06/1.103, allocations: 3.938 kB / 1.509 GB, free: 8.039 MB / 1.232 GB Notification: Performance of matching and sorting (n=399): time 0.008599/1.112, allocations: 6.023 MB / 1.515 GB, free: 1.93 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/1.112, allocations: 98.53 kB / 1.515 GB, free: 1.82 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/1.114, allocations: 1.22 MB / 1.516 GB, free: 0.5938 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002136/1.114, allocations: 97.7 kB / 1.516 GB, free: 0.4922 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005033/1.114, allocations: 0.8173 MB / 1.517 GB, free: 15.66 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009575/1.115, allocations: 1.332 MB / 1.518 GB, free: 14.31 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000707/1.116, allocations: 0.543 MB / 1.519 GB, free: 13.76 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 8.151e-05/1.116, allocations: 301.1 kB / 1.519 GB, free: 13.46 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00214/1.118, allocations: 1.607 MB / 1.52 GB, free: 11.86 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002392/1.121, allocations: 1.909 MB / 1.522 GB, free: 9.902 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004902/1.126, allocations: 3.834 MB / 1.526 GB, free: 6.008 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/1.126, allocations: 0 / 1.526 GB, free: 6.008 MB / 1.248 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00581/1.131, allocations: 4.191 MB / 1.53 GB, free: 1.793 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/1.131, allocations: 7.938 kB / 1.53 GB, free: 1.785 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/1.131, allocations: 4 kB / 1.53 GB, free: 1.781 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-05/1.131, allocations: 20 kB / 1.53 GB, free: 1.762 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002615/1.134, allocations: 0.6787 MB / 1.531 GB, free: 1.082 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.197e-05/1.134, allocations: 23.98 kB / 1.531 GB, free: 1.059 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/1.136, allocations: 241.5 kB / 1.531 GB, free: 0.8203 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/1.137, allocations: 112 kB / 1.531 GB, free: 0.7109 MB / 1.248 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.001166/1.138, allocations: 0.7328 MB / 1.532 GB, free: 15.96 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004449/1.138, allocations: 241 kB / 1.532 GB, free: 15.73 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006613/1.145, allocations: 4.63 MB / 1.537 GB, free: 11.05 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.738e-05/1.145, allocations: 36 kB / 1.537 GB, free: 11.02 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/1.145, allocations: 7.938 kB / 1.537 GB, free: 11.01 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005119/1.15, allocations: 3.954 MB / 1.541 GB, free: 6.996 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/1.161, allocations: 8.273 MB / 1.549 GB, free: 14.64 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/1.161, allocations: 3.984 kB / 1.549 GB, free: 14.63 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002706/1.164, allocations: 0.6592 MB / 1.549 GB, free: 13.97 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004595/1.164, allocations: 138.5 kB / 1.549 GB, free: 13.83 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002418/1.164, allocations: 79.98 kB / 1.55 GB, free: 13.75 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003471/1.168, allocations: 5.047 MB / 1.554 GB, free: 8.285 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.168, allocations: 0 / 1.554 GB, free: 8.285 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009516/1.178, allocations: 6.824 MB / 1.561 GB, free: 1.402 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/1.179, allocations: 0.755 MB / 1.562 GB, free: 0.625 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000504/1.18, allocations: 71.98 kB / 1.562 GB, free: 0.5547 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002054/1.182, allocations: 91.52 kB / 1.562 GB, free: 480 kB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003972/1.182, allocations: 230.8 kB / 1.562 GB, free: 248 kB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000222/1.182, allocations: 112 kB / 1.562 GB, free: 136 kB / 1.279 GB Notification: Performance of sorting global known variables: time 0.6148/1.797, allocations: 0.8549 MB / 1.563 GB, free: 348.1 MB / 1.279 GB Notification: Performance of sort global known variables: time 5.61e-07/1.797, allocations: 0.5312 kB / 1.563 GB, free: 348.1 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003776/1.801, allocations: 1.069 MB / 1.564 GB, free: 348.1 MB / 1.279 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.0006955/1.802, allocations: 333.8 kB / 1.565 GB, free: 348 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.006383/1.808, allocations: 4.059 MB / 1.569 GB, free: 346.8 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/1.808, allocations: 5.562 kB / 1.569 GB, free: 346.8 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003231/1.811, allocations: 2.547 MB / 1.571 GB, free: 345.7 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004497/1.816, allocations: 1.076 MB / 1.572 GB, free: 345.4 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008329/1.824, allocations: 6.741 MB / 1.579 GB, free: 342.5 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001382/1.825, allocations: 1.943 MB / 1.581 GB, free: 341.6 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/1.827, allocations: 285.3 kB / 1.581 GB, free: 341.6 MB / 1.279 GB Notification: Performance of SimCode: time 6.81e-07/1.827, allocations: 0 / 1.581 GB, free: 341.6 MB / 1.279 GB Notification: Performance of Templates: time 0.05304/1.88, allocations: 58.38 MB / 1.638 GB, free: 288.8 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches