Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.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.Validation.ThreeRoomsContam,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.dp1",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam") translateModel(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,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.dp1",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, 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.002558/0.002558, allocations: 196.8 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.527/1.527, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.104/3.104, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.05 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4587/0.46, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam): time 1.258/1.718, allocations: 282.1 MB / 1.328 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02646/1.745, allocations: 17.52 MB / 1.345 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005495/1.75, allocations: 59.94 kB / 1.345 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0057/1.756, allocations: 1.496 MB / 1.347 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01831/1.774, allocations: 5.55 MB / 1.352 GB, free: 292 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008947/1.783, allocations: 2.552 MB / 1.355 GB, free: 204 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01415/1.798, allocations: 9.655 MB / 1.364 GB, free: 76 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004549/1.802, allocations: 2.185 MB / 1.366 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006899/1.809, allocations: 2.156 MB / 1.368 GB, free: 15.47 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0076/1.817, allocations: 2.492 MB / 1.371 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001858/1.819, allocations: 177.8 kB / 1.371 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01863/1.837, allocations: 6.889 MB / 1.378 GB, free: 14.01 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003535/1.841, allocations: 1.185 MB / 1.379 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.006214/1.847, allocations: 1.582 MB / 1.38 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01209/1.859, allocations: 4.732 MB / 1.385 GB, free: 9.695 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.153e-05/1.859, allocations: 2.688 kB / 1.385 GB, free: 9.695 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.504e-06/1.859, allocations: 0 / 1.385 GB, free: 9.695 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002405/1.86, allocations: 0 / 1.385 GB, free: 9.695 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.01655/1.876, allocations: 3.75 MB / 1.389 GB, free: 7.164 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/1.876, allocations: 11.97 kB / 1.389 GB, free: 7.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007218/1.883, allocations: 0.8151 MB / 1.39 GB, free: 6.781 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005452/1.889, allocations: 1.64 MB / 1.391 GB, free: 5.688 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002567/1.889, allocations: 182.9 kB / 1.391 GB, free: 5.605 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001168/1.89, allocations: 241.4 kB / 1.392 GB, free: 5.527 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00985/1.9, allocations: 3.099 MB / 1.395 GB, free: 3.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000138/1.901, allocations: 5.75 kB / 1.395 GB, free: 3.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007851/1.901, allocations: 99.11 kB / 1.395 GB, free: 3.605 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001994/1.902, allocations: 132.6 kB / 1.395 GB, free: 3.578 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007688/1.909, allocations: 2.85 MB / 1.398 GB, free: 2.168 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.02182/1.931, allocations: 12.05 MB / 1.409 GB, free: 6.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004364/1.936, allocations: 2.289 MB / 1.412 GB, free: 4.152 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002326/1.938, allocations: 1.237 MB / 1.413 GB, free: 2.914 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001555/1.939, allocations: 1.369 MB / 1.414 GB, free: 1.258 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.459e-05/1.94, allocations: 60.55 kB / 1.414 GB, free: 1.188 MB / 1.029 GB Notification: Performance of pre-optimization done (n=197): time 5.169e-06/1.94, allocations: 4 kB / 1.414 GB, free: 1.184 MB / 1.029 GB Notification: Performance of matching and sorting (n=197): time 0.006576/1.946, allocations: 2.828 MB / 1.417 GB, free: 14.35 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/1.946, allocations: 69.41 kB / 1.417 GB, free: 14.27 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002652/1.949, allocations: 1.312 MB / 1.418 GB, free: 12.95 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.000305/1.949, allocations: 61.7 kB / 1.418 GB, free: 12.89 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008108/1.95, allocations: 0.9581 MB / 1.419 GB, free: 11.92 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009379/1.951, allocations: 0.6806 MB / 1.42 GB, free: 11.24 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006756/1.952, allocations: 291.5 kB / 1.42 GB, free: 10.95 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.952, allocations: 309.1 kB / 1.421 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/1.953, allocations: 0.7808 MB / 1.421 GB, free: 9.863 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/1.955, allocations: 0.9789 MB / 1.422 GB, free: 8.852 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003196/1.958, allocations: 1.865 MB / 1.424 GB, free: 6.961 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/1.958, allocations: 0 / 1.424 GB, free: 6.961 MB / 1.045 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004594/1.963, allocations: 2.166 MB / 1.426 GB, free: 4.789 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/1.963, allocations: 7.938 kB / 1.426 GB, free: 4.781 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/1.963, allocations: 4 kB / 1.426 GB, free: 4.777 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.239e-05/1.963, allocations: 8 kB / 1.426 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/1.965, allocations: 371.5 kB / 1.427 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.615e-05/1.965, allocations: 11.98 kB / 1.427 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/1.968, allocations: 326.5 kB / 1.427 GB, free: 4.074 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/1.968, allocations: 67.98 kB / 1.427 GB, free: 4.008 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (219): * Single equations (assignments): 219 * 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.001548/1.97, allocations: 0.6026 MB / 1.428 GB, free: 3.395 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009114/1.971, allocations: 189.8 kB / 1.428 GB, free: 3.207 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004682/1.975, allocations: 2.259 MB / 1.43 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/1.975, allocations: 20 kB / 1.43 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/1.975, allocations: 3.938 kB / 1.43 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003171/1.979, allocations: 1.874 MB / 1.432 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/1.99, allocations: 5.104 MB / 1.437 GB, free: 9.852 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/1.99, allocations: 8.25 kB / 1.437 GB, free: 9.844 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002136/1.992, allocations: 423.5 kB / 1.437 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.711e-05/1.992, allocations: 8 kB / 1.437 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002039/1.992, allocations: 51.98 kB / 1.437 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-05/1.992, allocations: 8 kB / 1.437 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.992, allocations: 4 kB / 1.437 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005878/1.998, allocations: 3.404 MB / 1.441 GB, free: 5.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/2, allocations: 0.5023 MB / 1.441 GB, free: 5.387 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006206/2, allocations: 43.98 kB / 1.441 GB, free: 5.344 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002616/2.003, allocations: 200.3 kB / 1.441 GB, free: 5.148 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003216/2.003, allocations: 133.7 kB / 1.441 GB, free: 5.016 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/2.004, allocations: 71.97 kB / 1.441 GB, free: 4.945 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001839/2.005, allocations: 0.9044 MB / 1.442 GB, free: 4.043 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/2.006, allocations: 4 kB / 1.442 GB, free: 4.039 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003138/2.009, allocations: 0.8454 MB / 1.443 GB, free: 3.191 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,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 (201): * Single equations (assignments): 201 * 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.001016/2.01, allocations: 379 kB / 1.444 GB, free: 2.836 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003878/2.014, allocations: 1.969 MB / 1.445 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/2.014, allocations: 0.6875 kB / 1.445 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001868/2.015, allocations: 1.081 MB / 1.447 GB, free: 15.79 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00729/2.023, allocations: 1.189 MB / 1.448 GB, free: 14.61 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/2.035, allocations: 6.528 MB / 1.454 GB, free: 8.023 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0024/2.037, allocations: 1.836 MB / 1.456 GB, free: 6.148 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/2.039, allocations: 191.4 kB / 1.456 GB, free: 5.961 MB / 1.076 GB Notification: Performance of SimCode: time 1.082e-06/2.039, allocations: 0 / 1.456 GB, free: 5.961 MB / 1.076 GB Notification: Performance of Templates: time 0.06807/2.107, allocations: 38.02 MB / 1.493 GB, free: 144 kB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_ThreeRoomsContam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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.dp1 Variables in the result:dooOpeClo.dp1,dooOpeClo.port_a1.m_flow,dooOpeClo.port_a2.m_flow,oriEasTop.dp,oriEasTop.port_a.m_flow,oriOutBot.dp,oriOutBot.port_a.m_flow,oriOutTop.dp,oriOutTop.port_a.m_flow,oriWesTop.dp,oriWesTop.port_a.m_flow,time,volEas.T,volOut.T,volTop.T,volWes.T