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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001455/0.001455, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 199.7 kB / 16.79 MB, free: 6.809 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.422/1.422, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.771/2.771, allocations: 461.8 MB / 0.7348 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 64.98 kB / 0.899 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4112, allocations: 157.4 MB / 1.053 GB, free: 8.395 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 1.114/1.526, allocations: 216.2 MB / 1.264 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0318/1.558, allocations: 20.75 MB / 1.284 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004445/1.562, allocations: 47.5 kB / 1.284 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004744/1.567, allocations: 1.09 MB / 1.285 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01727/1.584, allocations: 3.847 MB / 1.289 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006138/1.59, allocations: 1.38 MB / 1.29 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01598/1.606, allocations: 9.516 MB / 1.3 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004827/1.611, allocations: 2 MB / 1.302 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006898/1.618, allocations: 2.036 MB / 1.304 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006793/1.625, allocations: 2.532 MB / 1.306 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001152/1.626, allocations: 184.2 kB / 1.306 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01131/1.637, allocations: 3.948 MB / 1.31 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002897/1.64, allocations: 1.306 MB / 1.311 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00443/1.645, allocations: 1.692 MB / 1.313 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006919/1.652, allocations: 4.277 MB / 1.317 GB, free: 432 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/1.652, allocations: 0 / 1.317 GB, free: 432 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/1.652, allocations: 0 / 1.317 GB, free: 432 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001368/1.652, allocations: 0 / 1.317 GB, free: 432 kB / 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.01136/1.663, allocations: 3.941 MB / 1.321 GB, free: 14.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/1.663, allocations: 14.16 kB / 1.321 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004985/1.668, allocations: 0.8313 MB / 1.322 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004588/1.673, allocations: 1.882 MB / 1.324 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/1.673, allocations: 210.4 kB / 1.324 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006264/1.674, allocations: 268.1 kB / 1.324 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00652/1.68, allocations: 3.276 MB / 1.327 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.919e-05/1.68, allocations: 5.312 kB / 1.327 GB, free: 14.06 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002834/1.681, allocations: 118 kB / 1.327 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000127/1.681, allocations: 124 kB / 1.328 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007787/1.689, allocations: 4.622 MB / 1.332 GB, free: 14.01 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.02071/1.709, allocations: 10.86 MB / 1.343 GB, free: 9.051 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006788/1.716, allocations: 4.881 MB / 1.347 GB, free: 8.277 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004716/1.721, allocations: 2.516 MB / 1.35 GB, free: 7.852 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001321/1.722, allocations: 0.8658 MB / 1.351 GB, free: 6.949 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.554e-05/1.723, allocations: 81.02 kB / 1.351 GB, free: 6.875 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 7.905e-06/1.723, allocations: 2.688 kB / 1.351 GB, free: 6.875 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.01405/1.737, allocations: 6.018 MB / 1.357 GB, free: 3.793 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.742e-05/1.737, allocations: 94.64 kB / 1.357 GB, free: 3.727 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/1.74, allocations: 1.232 MB / 1.358 GB, free: 3.062 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0006187/1.74, allocations: 92.86 kB / 1.358 GB, free: 2.98 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007863/1.741, allocations: 0.8136 MB / 1.359 GB, free: 2.262 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001885/1.743, allocations: 1.334 MB / 1.36 GB, free: 1.102 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001587/1.745, allocations: 0.5416 MB / 1.361 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.745, allocations: 301.1 kB / 1.361 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003332/1.748, allocations: 1.604 MB / 1.363 GB, free: 15.72 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003555/1.752, allocations: 1.911 MB / 1.364 GB, free: 14.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007057/1.759, allocations: 3.84 MB / 1.368 GB, free: 12.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.911e-05/1.759, allocations: 0 / 1.368 GB, free: 12.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008202/1.767, allocations: 4.191 MB / 1.372 GB, free: 8.566 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/1.767, allocations: 7.984 kB / 1.372 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/1.767, allocations: 7.938 kB / 1.372 GB, free: 8.551 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.938e-05/1.767, allocations: 16 kB / 1.372 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003067/1.77, allocations: 0.6802 MB / 1.373 GB, free: 7.895 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.688e-05/1.77, allocations: 24.64 kB / 1.373 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003681/1.774, allocations: 401.1 kB / 1.373 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003735/1.774, allocations: 112 kB / 1.373 GB, free: 7.371 MB / 1.029 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.002062/1.776, allocations: 0.7365 MB / 1.374 GB, free: 6.664 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/1.778, allocations: 237.2 kB / 1.374 GB, free: 6.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009476/1.787, allocations: 4.64 MB / 1.379 GB, free: 1.754 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-05/1.787, allocations: 39.94 kB / 1.379 GB, free: 1.715 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.579e-05/1.787, allocations: 4 kB / 1.379 GB, free: 1.711 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00703/1.794, allocations: 3.955 MB / 1.383 GB, free: 13.7 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01734/1.812, allocations: 8.279 MB / 1.391 GB, free: 5.438 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/1.812, allocations: 0 / 1.391 GB, free: 5.438 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00324/1.815, allocations: 0.6557 MB / 1.392 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006385/1.816, allocations: 134.5 kB / 1.392 GB, free: 4.676 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004006/1.816, allocations: 90.44 kB / 1.392 GB, free: 4.59 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004849/1.821, allocations: 4.523 MB / 1.396 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.821, allocations: 2.625 kB / 1.396 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/1.834, allocations: 6.819 MB / 1.403 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002649/1.837, allocations: 0.7666 MB / 1.404 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008169/1.838, allocations: 64 kB / 1.404 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003327/1.841, allocations: 213.9 kB / 1.404 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00054/1.842, allocations: 226.8 kB / 1.404 GB, free: 7.547 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003473/1.842, allocations: 112 kB / 1.404 GB, free: 7.438 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001885/1.844, allocations: 0.8606 MB / 1.405 GB, free: 6.574 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.61e-07/1.844, allocations: 0 / 1.405 GB, free: 6.574 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.004721/1.849, allocations: 1.084 MB / 1.406 GB, free: 5.488 MB / 1.061 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.001016/1.85, allocations: 341.7 kB / 1.406 GB, free: 5.188 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.007434/1.857, allocations: 4.042 MB / 1.41 GB, free: 1.18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.857, allocations: 6.562 kB / 1.41 GB, free: 1.176 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00411/1.861, allocations: 2.547 MB / 1.413 GB, free: 14.66 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006794/1.868, allocations: 1.038 MB / 1.414 GB, free: 13.64 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/1.882, allocations: 7.985 MB / 1.422 GB, free: 5.621 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002258/1.885, allocations: 1.947 MB / 1.424 GB, free: 3.633 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002414/1.887, allocations: 275.4 kB / 1.424 GB, free: 3.363 MB / 1.076 GB Notification: Performance of SimCode: time 2.214e-06/1.887, allocations: 0 / 1.424 GB, free: 3.363 MB / 1.076 GB Notification: Performance of Templates: time 0.09594/1.983, allocations: 58.05 MB / 1.481 GB, free: 9.465 MB / 1.139 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