Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001401/0.001401, 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.001724/0.001724, allocations: 199.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.362/1.362, 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 9.1.2-maint.9.1.x/package.mo): time 2.368/2.368, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 59.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7566/0.7581, allocations: 140.4 MB / 0.9496 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam): time 0.3121/1.07, allocations: 282.1 MB / 1.225 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02755/1.098, allocations: 17.49 MB / 1.242 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004542/1.102, allocations: 63.62 kB / 1.242 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005703/1.108, allocations: 1.497 MB / 1.244 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.8117/1.92, allocations: 5.55 MB / 1.249 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009111/1.929, allocations: 2.55 MB / 1.252 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01584/1.945, allocations: 9.649 MB / 1.261 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004496/1.949, allocations: 2.19 MB / 1.263 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007175/1.957, allocations: 2.157 MB / 1.265 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007801/1.965, allocations: 2.497 MB / 1.268 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001267/1.966, allocations: 177.7 kB / 1.268 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01708/1.983, allocations: 6.876 MB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003621/1.987, allocations: 1.186 MB / 1.276 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006888/1.993, allocations: 1.581 MB / 1.277 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01162/2.005, allocations: 4.731 MB / 1.282 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/2.005, allocations: 3.031 kB / 1.282 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.164e-06/2.005, allocations: 0 / 1.282 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002953/2.005, allocations: 0 / 1.282 GB, free: 5.117 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: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.017/2.022, allocations: 3.745 MB / 1.286 GB, free: 19.58 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/2.023, allocations: 11.12 kB / 1.286 GB, free: 19.58 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006733/2.029, allocations: 0.8124 MB / 1.286 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004741/2.034, allocations: 1.64 MB / 1.288 GB, free: 18.93 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/2.034, allocations: 182.6 kB / 1.288 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001078/2.035, allocations: 250.8 kB / 1.288 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007188/2.043, allocations: 3.09 MB / 1.291 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.143e-05/2.043, allocations: 7.125 kB / 1.291 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002485/2.043, allocations: 104.6 kB / 1.292 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001508/2.043, allocations: 132.6 kB / 1.292 GB, free: 18.61 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00505/2.048, allocations: 2.845 MB / 1.294 GB, free: 18.57 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.01605/2.064, allocations: 12.05 MB / 1.306 GB, free: 11.72 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003239/2.068, allocations: 2.282 MB / 1.308 GB, free: 11.28 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001801/2.069, allocations: 1.246 MB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/2.071, allocations: 1.371 MB / 1.311 GB, free: 9.762 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.515e-05/2.071, allocations: 60.72 kB / 1.311 GB, free: 9.715 MB / 1.014 GB Notification: Performance of pre-optimization done (n=197): time 4.007e-06/2.071, allocations: 0 / 1.311 GB, free: 9.715 MB / 1.014 GB Notification: Performance of matching and sorting (n=197): time 0.005234/2.076, allocations: 2.828 MB / 1.314 GB, free: 9.531 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/2.076, allocations: 70.06 kB / 1.314 GB, free: 9.469 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/2.078, allocations: 1.314 MB / 1.315 GB, free: 9.312 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001933/2.078, allocations: 61.11 kB / 1.315 GB, free: 9.281 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006051/2.079, allocations: 0.9577 MB / 1.316 GB, free: 8.895 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005935/2.079, allocations: 0.6789 MB / 1.317 GB, free: 8.449 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004507/2.08, allocations: 293.5 kB / 1.317 GB, free: 8.426 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.926e-05/2.08, allocations: 305.1 kB / 1.317 GB, free: 8.125 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/2.081, allocations: 0.7823 MB / 1.318 GB, free: 8.121 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/2.082, allocations: 0.9716 MB / 1.319 GB, free: 8.004 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00287/2.085, allocations: 1.874 MB / 1.321 GB, free: 7.871 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/2.085, allocations: 0 / 1.321 GB, free: 7.871 MB / 1.014 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004128/2.09, allocations: 2.157 MB / 1.323 GB, free: 7.695 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/2.09, allocations: 8.062 kB / 1.323 GB, free: 7.695 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/2.09, allocations: 3.406 kB / 1.323 GB, free: 7.695 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.447e-05/2.09, allocations: 9.938 kB / 1.323 GB, free: 7.695 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/2.091, allocations: 373.5 kB / 1.323 GB, free: 7.695 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.431e-05/2.091, allocations: 12.19 kB / 1.323 GB, free: 7.691 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003029/2.094, allocations: 325.5 kB / 1.324 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/2.095, allocations: 63.47 kB / 1.324 GB, free: 7.594 MB / 1.014 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.001589/2.096, allocations: 0.5932 MB / 1.324 GB, free: 7.473 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006721/2.097, allocations: 202.8 kB / 1.325 GB, free: 7.375 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004099/2.101, allocations: 2.261 MB / 1.327 GB, free: 7.254 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.31e-05/2.101, allocations: 23.55 kB / 1.327 GB, free: 7.254 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/2.101, allocations: 0 / 1.327 GB, free: 7.254 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002934/2.104, allocations: 1.871 MB / 1.329 GB, free: 7.141 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/2.114, allocations: 5.115 MB / 1.334 GB, free: 6.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/2.115, allocations: 2.969 kB / 1.334 GB, free: 6.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/2.117, allocations: 417.3 kB / 1.334 GB, free: 6.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-05/2.117, allocations: 10.78 kB / 1.334 GB, free: 6.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001732/2.117, allocations: 51.84 kB / 1.334 GB, free: 6.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.537e-05/2.117, allocations: 11.78 kB / 1.334 GB, free: 6.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/2.117, allocations: 6.75 kB / 1.334 GB, free: 6.496 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005714/2.123, allocations: 3.403 MB / 1.337 GB, free: 6.094 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/2.124, allocations: 0.5054 MB / 1.338 GB, free: 5.875 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000533/2.125, allocations: 44.91 kB / 1.338 GB, free: 5.875 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002097/2.127, allocations: 206 kB / 1.338 GB, free: 5.844 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002702/2.127, allocations: 134.3 kB / 1.338 GB, free: 5.832 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/2.127, allocations: 67.09 kB / 1.338 GB, free: 5.832 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001195/2.128, allocations: 0.9054 MB / 1.339 GB, free: 5.723 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/2.128, allocations: 0 / 1.339 GB, free: 5.723 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002101/2.131, allocations: 0.8466 MB / 1.34 GB, free: 5.602 MB / 1.014 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.0007139/2.131, allocations: 383.5 kB / 1.34 GB, free: 5.457 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002955/2.134, allocations: 1.968 MB / 1.342 GB, free: 5.418 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/2.134, allocations: 6.5 kB / 1.342 GB, free: 5.418 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/2.136, allocations: 1.084 MB / 1.343 GB, free: 5.402 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005219/2.141, allocations: 1.181 MB / 1.345 GB, free: 5.312 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008821/2.15, allocations: 6.539 MB / 1.351 GB, free: 1.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/2.151, allocations: 1.829 MB / 1.353 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/2.152, allocations: 190 kB / 1.353 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of SimCode: time 1.163e-06/2.152, allocations: 0 / 1.353 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of Templates: time 0.06134/2.214, allocations: 38.02 MB / 1.39 GB, free: 12.06 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & ./Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_ThreeRoomsContam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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