Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Validation.ThreeRoomsContamDiscretizedDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor") translateModel(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001384/0.001384, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.576/2.576, allocations: 437.7 MB / 0.7117 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003306, allocations: 8 kB / 0.8722 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6253/0.6256, allocations: 153.8 MB / 1.022 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 0.8035/1.429, allocations: 273.3 MB / 1.289 GB, free: 20 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01776/1.447, allocations: 14.39 MB / 1.303 GB, free: 19.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002842/1.45, allocations: 58.88 kB / 1.303 GB, free: 19.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003134/1.453, allocations: 1.137 MB / 1.304 GB, free: 19.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01148/1.465, allocations: 4.305 MB / 1.309 GB, free: 19.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006729/1.471, allocations: 1.985 MB / 1.311 GB, free: 19.46 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00901/1.48, allocations: 8.602 MB / 1.319 GB, free: 19.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003279/1.484, allocations: 2.057 MB / 1.321 GB, free: 19.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004404/1.488, allocations: 2.253 MB / 1.323 GB, free: 19.17 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004087/1.492, allocations: 2.544 MB / 1.326 GB, free: 19.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000533/1.493, allocations: 167.7 kB / 1.326 GB, free: 19.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008251/1.501, allocations: 2.878 MB / 1.329 GB, free: 19.1 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001716/1.503, allocations: 1.324 MB / 1.33 GB, free: 19.1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001389/1.504, allocations: 0.6771 MB / 1.331 GB, free: 19.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006527/1.511, allocations: 4.546 MB / 1.335 GB, free: 18.15 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.511, allocations: 0 / 1.335 GB, free: 18.15 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.615e-06/1.511, allocations: 4 kB / 1.335 GB, free: 18.15 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.105e-05/1.511, allocations: 0 / 1.335 GB, free: 18.15 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 726 * Number of variables: 726 Notification: Performance of Generate backend data structure: time 0.008413/1.519, allocations: 3.588 MB / 1.339 GB, free: 16.03 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/1.519, allocations: 15.97 kB / 1.339 GB, free: 16.03 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005408/1.525, allocations: 0.8525 MB / 1.339 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003335/1.528, allocations: 1.738 MB / 1.341 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/1.528, allocations: 213.5 kB / 1.341 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004132/1.529, allocations: 289.3 kB / 1.342 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006032/1.535, allocations: 3.6 MB / 1.345 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.195e-05/1.535, allocations: 7.375 kB / 1.345 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002879/1.535, allocations: 116.6 kB / 1.345 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001568/1.535, allocations: 145.6 kB / 1.345 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005989/1.541, allocations: 3.717 MB / 1.349 GB, free: 13.23 MB / 0.9825 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.01372/1.555, allocations: 13.21 MB / 1.362 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003965/1.559, allocations: 3.22 MB / 1.365 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002212/1.561, allocations: 1.761 MB / 1.367 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/1.562, allocations: 1.593 MB / 1.368 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/1.562, allocations: 70.84 kB / 1.368 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=285): time 3.947e-06/1.562, allocations: 0 / 1.368 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=285): time 0.005992/1.568, allocations: 4.027 MB / 1.372 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/1.568, allocations: 80.88 kB / 1.372 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/1.57, allocations: 1.411 MB / 1.374 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001924/1.57, allocations: 79.11 kB / 1.374 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005169/1.571, allocations: 1.005 MB / 1.375 GB, free: 168 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008346/1.572, allocations: 0.9678 MB / 1.376 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/1.572, allocations: 55.06 kB / 1.376 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001809/1.572, allocations: 406.1 kB / 1.376 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001867/1.574, allocations: 1.129 MB / 1.377 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/1.576, allocations: 1.379 MB / 1.379 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/1.578, allocations: 1.321 MB / 1.38 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/1.578, allocations: 4 kB / 1.38 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.005015/1.583, allocations: 3.033 MB / 1.383 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/1.583, allocations: 12.39 kB / 1.383 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/1.583, allocations: 8 kB / 1.383 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.275e-05/1.583, allocations: 12 kB / 1.383 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002305/1.586, allocations: 0.5105 MB / 1.383 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.762e-05/1.586, allocations: 14.34 kB / 1.383 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/1.588, allocations: 376.5 kB / 1.384 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/1.588, allocations: 84.8 kB / 1.384 GB, free: 9.586 MB / 0.9981 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 (312): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001313/1.59, allocations: 0.6971 MB / 1.385 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004323/1.59, allocations: 240.3 kB / 1.385 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005306/1.595, allocations: 3.2 MB / 1.388 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/1.595, allocations: 24 kB / 1.388 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/1.595, allocations: 4 kB / 1.388 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003976/1.599, allocations: 2.635 MB / 1.391 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/1.61, allocations: 6.631 MB / 1.397 GB, free: 376 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/1.61, allocations: 11.94 kB / 1.397 GB, free: 364 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002501/1.613, allocations: 0.5405 MB / 1.398 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.037e-05/1.613, allocations: 12.25 kB / 1.398 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002168/1.613, allocations: 67.36 kB / 1.398 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.492e-05/1.613, allocations: 12 kB / 1.398 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.613, allocations: 6.531 kB / 1.398 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00709/1.62, allocations: 4.798 MB / 1.402 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/1.622, allocations: 0.6197 MB / 1.403 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00048/1.622, allocations: 57.06 kB / 1.403 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/1.624, allocations: 223 kB / 1.403 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003244/1.625, allocations: 177 kB / 1.403 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/1.625, allocations: 89.03 kB / 1.403 GB, free: 11.54 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001517/1.626, allocations: 0.9716 MB / 1.404 GB, free: 10.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.51e-07/1.626, allocations: 0 / 1.404 GB, free: 10.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002614/1.629, allocations: 1 MB / 1.405 GB, free: 9.918 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * 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 (285): * Single equations (assignments): 285 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008454/1.63, allocations: 417.9 kB / 1.406 GB, free: 9.598 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004533/1.634, allocations: 2.819 MB / 1.409 GB, free: 7.656 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.634, allocations: 0 / 1.409 GB, free: 7.656 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002343/1.637, allocations: 1.555 MB / 1.41 GB, free: 6.621 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006048/1.643, allocations: 1.283 MB / 1.411 GB, free: 5.594 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/1.655, allocations: 7.64 MB / 1.419 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002055/1.657, allocations: 1.993 MB / 1.421 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.003592/1.66, allocations: 0.8946 MB / 1.422 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009234/1.661, allocations: 209.4 kB / 1.422 GB, free: 11.6 MB / 1.029 GB Notification: Performance of SimCode: time 8.12e-07/1.661, allocations: 0 / 1.422 GB, free: 11.6 MB / 1.029 GB Notification: Performance of Templates: time 0.07657/1.738, allocations: 46.7 MB / 1.467 GB, free: 13.66 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.sim & ./Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches