Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001156/0.001156, allocations: 92.55 kB / 16.02 MB, free: 80 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.001717/0.001717, allocations: 177.6 kB / 16.92 MB, free: 6.652 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.526/1.526, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.625/2.625, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004536/0.0004541, allocations: 16 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9454/0.9458, allocations: 142.4 MB / 0.9557 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor): time 0.3217/1.268, allocations: 292.9 MB / 1.242 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.9164/2.184, allocations: 15.32 MB / 1.257 GB, free: 16.82 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006683/2.191, allocations: 60.44 kB / 1.257 GB, free: 16.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006808/2.198, allocations: 1.511 MB / 1.258 GB, free: 16.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02167/2.219, allocations: 5.587 MB / 1.264 GB, free: 16.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01029/2.23, allocations: 2.574 MB / 1.266 GB, free: 16.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02077/2.251, allocations: 10.26 MB / 1.276 GB, free: 16.55 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006083/2.257, allocations: 2.242 MB / 1.278 GB, free: 16.29 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008933/2.266, allocations: 2.219 MB / 1.281 GB, free: 16.29 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00841/2.274, allocations: 2.63 MB / 1.283 GB, free: 16.28 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009466/2.275, allocations: 167.7 kB / 1.283 GB, free: 16.28 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01984/2.295, allocations: 6.635 MB / 1.29 GB, free: 16.22 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004952/2.3, allocations: 1.328 MB / 1.291 GB, free: 16.22 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.008252/2.308, allocations: 1.738 MB / 1.293 GB, free: 16.19 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0121/2.32, allocations: 4.98 MB / 1.298 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/2.32, allocations: 3.656 kB / 1.298 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.186e-06/2.32, allocations: 0 / 1.298 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002743/2.321, allocations: 0 / 1.298 GB, free: 15.83 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: 726 * Number of variables: 726 Notification: Performance of Generate backend data structure: time 0.01407/2.335, allocations: 3.557 MB / 1.301 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/2.335, allocations: 8.844 kB / 1.301 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006866/2.342, allocations: 0.8496 MB / 1.302 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005409/2.347, allocations: 1.795 MB / 1.304 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002773/2.347, allocations: 213.6 kB / 1.304 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001256/2.349, allocations: 284 kB / 1.304 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008975/2.358, allocations: 3.628 MB / 1.308 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.301e-05/2.358, allocations: 5.562 kB / 1.308 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002894/2.358, allocations: 119.1 kB / 1.308 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001757/2.358, allocations: 146.4 kB / 1.308 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006989/2.365, allocations: 3.728 MB / 1.312 GB, free: 13.19 MB / 0.9981 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.01712/2.382, allocations: 13.23 MB / 1.325 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004694/2.387, allocations: 3.233 MB / 1.328 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002736/2.39, allocations: 1.77 MB / 1.329 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001489/2.391, allocations: 1.595 MB / 1.331 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/2.392, allocations: 68.39 kB / 1.331 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=285): time 4.308e-06/2.392, allocations: 0 / 1.331 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of matching and sorting (n=285): time 0.007503/2.399, allocations: 4.049 MB / 1.335 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.649e-05/2.399, allocations: 81.84 kB / 1.335 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002287/2.401, allocations: 1.435 MB / 1.336 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002189/2.402, allocations: 77.48 kB / 1.337 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008003/2.402, allocations: 0.9942 MB / 1.338 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001003/2.403, allocations: 0.9708 MB / 1.338 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003191/2.404, allocations: 198.4 kB / 1.339 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.198e-05/2.404, allocations: 305.1 kB / 1.339 GB, free: 496 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001898/2.406, allocations: 1.144 MB / 1.34 GB, free: 316 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/2.408, allocations: 1.378 MB / 1.341 GB, free: 15.97 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004384/2.412, allocations: 2.723 MB / 1.344 GB, free: 15.54 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/2.412, allocations: 3.281 kB / 1.344 GB, free: 15.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.005737/2.418, allocations: 3.052 MB / 1.347 GB, free: 15.01 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/2.418, allocations: 10.67 kB / 1.347 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/2.418, allocations: 1.406 kB / 1.347 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.631e-05/2.418, allocations: 19.28 kB / 1.347 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002299/2.421, allocations: 0.5095 MB / 1.348 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.906e-05/2.421, allocations: 17.38 kB / 1.348 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003639/2.424, allocations: 378.4 kB / 1.348 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002657/2.425, allocations: 89.14 kB / 1.348 GB, free: 14.75 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 (312): * Single equations (assignments): 312 * 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.002041/2.427, allocations: 0.6814 MB / 1.349 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009837/2.428, allocations: 228.8 kB / 1.349 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006895/2.435, allocations: 3.212 MB / 1.352 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.38e-05/2.435, allocations: 38.78 kB / 1.352 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/2.435, allocations: 4 kB / 1.352 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004647/2.439, allocations: 2.646 MB / 1.355 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/2.455, allocations: 6.631 MB / 1.361 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/2.455, allocations: 4.125 kB / 1.361 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002689/2.457, allocations: 0.5453 MB / 1.362 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.41e-05/2.458, allocations: 14.78 kB / 1.362 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002979/2.458, allocations: 59.83 kB / 1.362 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.55e-05/2.458, allocations: 17.53 kB / 1.362 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/2.458, allocations: 3.938 kB / 1.362 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009741/2.468, allocations: 4.823 MB / 1.366 GB, free: 8.477 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002609/2.47, allocations: 0.6274 MB / 1.367 GB, free: 7.965 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00089/2.471, allocations: 54.62 kB / 1.367 GB, free: 7.949 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003291/2.475, allocations: 224.4 kB / 1.367 GB, free: 7.766 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004476/2.475, allocations: 175.8 kB / 1.368 GB, free: 7.613 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000256/2.475, allocations: 85.72 kB / 1.368 GB, free: 7.551 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002507/2.478, allocations: 0.9876 MB / 1.369 GB, free: 6.828 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.306e-06/2.478, allocations: 0 / 1.369 GB, free: 6.828 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004435/2.482, allocations: 1.006 MB / 1.37 GB, free: 5.906 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001404/2.484, allocations: 413.7 kB / 1.37 GB, free: 5.598 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006146/2.49, allocations: 2.846 MB / 1.373 GB, free: 2.918 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/2.49, allocations: 4 kB / 1.373 GB, free: 2.914 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003004/2.493, allocations: 1.558 MB / 1.374 GB, free: 1.41 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009173/2.502, allocations: 1.269 MB / 1.376 GB, free: 156 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/2.518, allocations: 8.028 MB / 1.383 GB, free: 8.094 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002884/2.521, allocations: 1.998 MB / 1.385 GB, free: 6.062 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001894/2.523, allocations: 235.4 kB / 1.386 GB, free: 5.832 MB / 1.029 GB Notification: Performance of SimCode: time 1.703e-06/2.523, allocations: 0 / 1.386 GB, free: 5.832 MB / 1.029 GB Notification: Performance of Templates: time 0.08709/2.61, allocations: 44.01 MB / 1.429 GB, free: 10.18 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.sim & ./Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches