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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.009338/0.009338, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001827/0.001827, allocations: 195.7 kB / 16.68 MB, free: 5.934 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.534/1.534, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.681/2.681, allocations: 472.7 MB / 0.7453 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.89 kB / 1.069 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287/1.288, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.276/1.565, allocations: 218.5 MB / 1.439 GB, free: 2.195 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03337/1.598, allocations: 20.44 MB / 1.459 GB, free: 13.7 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005243/1.603, allocations: 59.69 kB / 1.459 GB, free: 13.64 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.005062/1.608, allocations: 1.251 MB / 1.46 GB, free: 12.38 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01614/1.625, allocations: 4.079 MB / 1.464 GB, free: 8.277 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.006367/1.631, allocations: 1.542 MB / 1.466 GB, free: 6.738 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01301/1.644, allocations: 6.97 MB / 1.473 GB, free: 15.75 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0052/1.649, allocations: 2.356 MB / 1.475 GB, free: 13.35 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007477/1.657, allocations: 2.371 MB / 1.477 GB, free: 10.97 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006901/1.664, allocations: 2.453 MB / 1.48 GB, free: 8.52 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.00125/1.665, allocations: 344 kB / 1.48 GB, free: 8.184 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01119/1.676, allocations: 3.457 MB / 1.483 GB, free: 4.719 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.003123/1.679, allocations: 1.457 MB / 1.485 GB, free: 3.258 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.005085/1.685, allocations: 1.863 MB / 1.487 GB, free: 1.387 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01629/1.701, allocations: 5.786 MB / 1.492 GB, free: 11.59 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 1.155e-05/1.701, allocations: 0 / 1.492 GB, free: 11.59 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.605e-06/1.701, allocations: 0 / 1.492 GB, free: 11.59 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0002529/1.701, allocations: 0 / 1.492 GB, free: 11.59 MB / 1.217 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.01487/1.716, allocations: 4.041 MB / 1.496 GB, free: 7.477 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 7.205e-05/1.716, allocations: 8.031 kB / 1.496 GB, free: 7.469 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005505/1.722, allocations: 0.841 MB / 1.497 GB, free: 6.625 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006188/1.728, allocations: 1.946 MB / 1.499 GB, free: 4.621 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/1.728, allocations: 205.4 kB / 1.499 GB, free: 4.418 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008525/1.729, allocations: 271.9 kB / 1.499 GB, free: 4.152 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007511/1.737, allocations: 3.279 MB / 1.502 GB, free: 0.832 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.137e-05/1.737, allocations: 3.938 kB / 1.502 GB, free: 0.8281 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003066/1.737, allocations: 112 kB / 1.503 GB, free: 0.7188 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001632/1.737, allocations: 125.4 kB / 1.503 GB, free: 0.5938 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009175/1.746, allocations: 4.623 MB / 1.507 GB, free: 11.95 MB / 1.232 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.02173/1.768, allocations: 10.94 MB / 1.518 GB, free: 352 kB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008725/1.777, allocations: 4.871 MB / 1.523 GB, free: 11.43 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004812/1.782, allocations: 2.531 MB / 1.525 GB, free: 8.895 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00151/1.783, allocations: 0.8604 MB / 1.526 GB, free: 7.871 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/1.783, allocations: 85.64 kB / 1.526 GB, free: 7.777 MB / 1.248 GB Notification: Performance of pre-optimization done (n=399): time 7.384e-06/1.784, allocations: 0 / 1.526 GB, free: 7.777 MB / 1.248 GB Notification: Performance of matching and sorting (n=399): time 0.01278/1.796, allocations: 6.039 MB / 1.532 GB, free: 1.652 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.796, allocations: 98.53 kB / 1.532 GB, free: 1.543 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/1.799, allocations: 1.224 MB / 1.533 GB, free: 320 kB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0005252/1.8, allocations: 93.7 kB / 1.533 GB, free: 220 kB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009209/1.801, allocations: 0.8269 MB / 1.534 GB, free: 15.38 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.002003/1.803, allocations: 1.402 MB / 1.536 GB, free: 13.96 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001554/1.804, allocations: 0.5469 MB / 1.536 GB, free: 13.41 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.805, allocations: 305.1 kB / 1.536 GB, free: 13.11 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003359/1.808, allocations: 1.607 MB / 1.538 GB, free: 11.5 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003665/1.812, allocations: 1.909 MB / 1.54 GB, free: 9.547 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006805/1.819, allocations: 3.827 MB / 1.544 GB, free: 5.66 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.967e-05/1.819, allocations: 4 kB / 1.544 GB, free: 5.656 MB / 1.264 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008401/1.827, allocations: 4.204 MB / 1.548 GB, free: 1.43 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 4.097e-05/1.827, allocations: 7.938 kB / 1.548 GB, free: 1.422 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/1.827, allocations: 4 kB / 1.548 GB, free: 1.418 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.453e-05/1.827, allocations: 16.41 kB / 1.548 GB, free: 1.402 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003161/1.83, allocations: 0.6827 MB / 1.548 GB, free: 0.7188 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.61e-05/1.83, allocations: 23.94 kB / 1.548 GB, free: 0.6953 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003217/1.834, allocations: 242.1 kB / 1.549 GB, free: 468 kB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000453/1.834, allocations: 116 kB / 1.549 GB, free: 352 kB / 1.264 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.002186/1.836, allocations: 0.724 MB / 1.549 GB, free: 15.61 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001248/1.838, allocations: 258.4 kB / 1.55 GB, free: 15.36 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00994/1.848, allocations: 4.63 MB / 1.554 GB, free: 10.68 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-05/1.848, allocations: 40 kB / 1.554 GB, free: 10.64 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.214e-05/1.848, allocations: 0 / 1.554 GB, free: 10.64 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007102/1.855, allocations: 3.961 MB / 1.558 GB, free: 6.621 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.179/3.034, allocations: 8.274 MB / 1.566 GB, free: 332.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.117e-05/3.034, allocations: 1.516 kB / 1.566 GB, free: 332.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004881/3.039, allocations: 0.6577 MB / 1.567 GB, free: 332.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007818/3.039, allocations: 141.9 kB / 1.567 GB, free: 332.5 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008208/3.04, allocations: 89.98 kB / 1.567 GB, free: 332.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004044/3.044, allocations: 5.042 MB / 1.572 GB, free: 327.6 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/3.044, allocations: 1.312 kB / 1.572 GB, free: 327.6 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/3.058, allocations: 6.826 MB / 1.579 GB, free: 325 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002361/3.061, allocations: 0.7726 MB / 1.579 GB, free: 324.7 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005917/3.061, allocations: 71.72 kB / 1.579 GB, free: 324.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002229/3.064, allocations: 89.52 kB / 1.58 GB, free: 324.6 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005901/3.064, allocations: 229.2 kB / 1.58 GB, free: 324.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002531/3.065, allocations: 109.4 kB / 1.58 GB, free: 324.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001596/3.066, allocations: 0.8605 MB / 1.581 GB, free: 324.2 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.41e-07/3.066, allocations: 0 / 1.581 GB, free: 324.2 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004371/3.07, allocations: 1.074 MB / 1.582 GB, free: 324 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.00102/3.072, allocations: 357 kB / 1.582 GB, free: 323.8 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007777/3.079, allocations: 4.06 MB / 1.586 GB, free: 322.5 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/3.079, allocations: 3.938 kB / 1.586 GB, free: 322.5 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004002/3.083, allocations: 2.543 MB / 1.589 GB, free: 321.4 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006295/3.09, allocations: 1.079 MB / 1.59 GB, free: 321.1 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/3.101, allocations: 6.673 MB / 1.596 GB, free: 318.1 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/3.103, allocations: 1.945 MB / 1.598 GB, free: 316.8 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.004009/3.107, allocations: 1.222 MB / 1.599 GB, free: 316 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009303/3.108, allocations: 239 kB / 1.599 GB, free: 315.7 MB / 1.279 GB Notification: Performance of SimCode: time 1.252e-06/3.108, allocations: 0 / 1.599 GB, free: 315.7 MB / 1.279 GB Notification: Performance of Templates: time 0.07061/3.178, allocations: 48.32 MB / 1.647 GB, free: 268.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches