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.001162/0.001162, allocations: 92.16 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.001896/0.001896, allocations: 173 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.535/1.535, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.972/2.972, allocations: 462.6 MB / 0.737 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004025, allocations: 10.34 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4319, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam): time 1.301/1.733, allocations: 278.2 MB / 1.331 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02786/1.761, allocations: 17.32 MB / 1.348 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006658/1.768, allocations: 61.19 kB / 1.348 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006454/1.774, allocations: 1.486 MB / 1.349 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0231/1.797, allocations: 5.554 MB / 1.355 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0129/1.81, allocations: 2.563 MB / 1.357 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01423/1.824, allocations: 9.653 MB / 1.367 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005194/1.83, allocations: 2.116 MB / 1.369 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006754/1.836, allocations: 2.083 MB / 1.371 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007577/1.844, allocations: 2.4 MB / 1.373 GB, free: 332 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001651/1.846, allocations: 151.2 kB / 1.373 GB, free: 332 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02089/1.867, allocations: 6.883 MB / 1.38 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003865/1.871, allocations: 1.14 MB / 1.381 GB, free: 14.61 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.007296/1.878, allocations: 1.54 MB / 1.383 GB, free: 14.06 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0125/1.89, allocations: 4.665 MB / 1.387 GB, free: 11.47 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.647e-06/1.89, allocations: 4 kB / 1.387 GB, free: 11.46 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.967e-06/1.891, allocations: 0 / 1.387 GB, free: 11.46 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002599/1.891, allocations: 0 / 1.387 GB, free: 11.46 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.01504/1.906, allocations: 3.193 MB / 1.39 GB, free: 9.285 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.326e-05/1.906, allocations: 11.81 kB / 1.39 GB, free: 9.281 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006657/1.913, allocations: 0.8167 MB / 1.391 GB, free: 8.902 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005403/1.918, allocations: 1.636 MB / 1.393 GB, free: 7.809 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/1.918, allocations: 183.9 kB / 1.393 GB, free: 7.727 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001085/1.919, allocations: 241.1 kB / 1.393 GB, free: 7.648 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009087/1.929, allocations: 3.097 MB / 1.396 GB, free: 5.809 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001367/1.929, allocations: 14.89 kB / 1.396 GB, free: 5.797 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006894/1.929, allocations: 100.6 kB / 1.396 GB, free: 5.727 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001916/1.93, allocations: 134.2 kB / 1.396 GB, free: 5.699 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006911/1.937, allocations: 2.838 MB / 1.399 GB, free: 4.289 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.01964/1.956, allocations: 12.07 MB / 1.411 GB, free: 9.738 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003966/1.96, allocations: 2.278 MB / 1.413 GB, free: 8.328 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002218/1.962, allocations: 1.238 MB / 1.414 GB, free: 7.355 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001484/1.964, allocations: 1.374 MB / 1.416 GB, free: 5.695 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.113e-05/1.964, allocations: 60.56 kB / 1.416 GB, free: 5.625 MB / 1.029 GB Notification: Performance of pre-optimization done (n=197): time 4.138e-06/1.964, allocations: 0 / 1.416 GB, free: 5.625 MB / 1.029 GB Notification: Performance of matching and sorting (n=197): time 0.006139/1.97, allocations: 2.824 MB / 1.419 GB, free: 2.797 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/1.97, allocations: 77.39 kB / 1.419 GB, free: 2.711 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/1.973, allocations: 1.312 MB / 1.42 GB, free: 1.391 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002163/1.973, allocations: 61.7 kB / 1.42 GB, free: 1.324 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009018/1.974, allocations: 0.9555 MB / 1.421 GB, free: 364 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008526/1.975, allocations: 0.6779 MB / 1.422 GB, free: 15.68 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/1.975, allocations: 141.6 kB / 1.422 GB, free: 15.54 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.975, allocations: 309 kB / 1.422 GB, free: 15.23 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/1.977, allocations: 0.7769 MB / 1.423 GB, free: 14.45 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/1.979, allocations: 0.9778 MB / 1.424 GB, free: 13.44 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/1.982, allocations: 1.865 MB / 1.426 GB, free: 11.54 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/1.982, allocations: 0 / 1.426 GB, free: 11.54 MB / 1.045 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004326/1.986, allocations: 2.159 MB / 1.428 GB, free: 9.371 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/1.986, allocations: 8 kB / 1.428 GB, free: 9.363 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/1.986, allocations: 4 kB / 1.428 GB, free: 9.359 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.455e-05/1.986, allocations: 11.94 kB / 1.428 GB, free: 9.348 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/1.988, allocations: 379.4 kB / 1.428 GB, free: 8.977 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.314e-05/1.988, allocations: 12.34 kB / 1.428 GB, free: 8.965 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00317/1.991, allocations: 330.1 kB / 1.428 GB, free: 8.641 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/1.991, allocations: 56 kB / 1.428 GB, free: 8.586 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.001695/1.993, allocations: 0.5987 MB / 1.429 GB, free: 7.977 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009039/1.994, allocations: 201.6 kB / 1.429 GB, free: 7.777 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004912/1.999, allocations: 2.255 MB / 1.431 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/1.999, allocations: 20 kB / 1.431 GB, free: 5.488 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/1.999, allocations: 0 / 1.431 GB, free: 5.488 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003575/2.003, allocations: 1.877 MB / 1.433 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/2.015, allocations: 5.098 MB / 1.438 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/2.015, allocations: 4.031 kB / 1.438 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002116/2.017, allocations: 423.5 kB / 1.439 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.969e-05/2.017, allocations: 8 kB / 1.439 GB, free: 14.01 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001899/2.017, allocations: 51.98 kB / 1.439 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-05/2.017, allocations: 15.94 kB / 1.439 GB, free: 13.94 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/2.017, allocations: 4 kB / 1.439 GB, free: 13.94 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006724/2.024, allocations: 3.412 MB / 1.442 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002338/2.026, allocations: 0.4944 MB / 1.443 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008096/2.027, allocations: 44 kB / 1.443 GB, free: 9.918 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003099/2.03, allocations: 216.1 kB / 1.443 GB, free: 9.707 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004353/2.031, allocations: 141.7 kB / 1.443 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002004/2.031, allocations: 59.98 kB / 1.443 GB, free: 9.512 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002187/2.033, allocations: 0.9044 MB / 1.444 GB, free: 8.609 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/2.033, allocations: 0 / 1.444 GB, free: 8.609 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003666/2.037, allocations: 0.8455 MB / 1.445 GB, free: 7.762 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.001027/2.038, allocations: 390.4 kB / 1.445 GB, free: 7.395 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003841/2.042, allocations: 1.962 MB / 1.447 GB, free: 5.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/2.042, allocations: 0.6875 kB / 1.447 GB, free: 5.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001888/2.044, allocations: 1.085 MB / 1.448 GB, free: 4.348 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007701/2.051, allocations: 1.184 MB / 1.449 GB, free: 3.172 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/2.064, allocations: 6.799 MB / 1.456 GB, free: 12.3 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002471/2.066, allocations: 1.84 MB / 1.458 GB, free: 10.42 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001229/2.067, allocations: 187.4 kB / 1.458 GB, free: 10.24 MB / 1.076 GB Notification: Performance of SimCode: time 2.204e-06/2.067, allocations: 0 / 1.458 GB, free: 10.24 MB / 1.076 GB Notification: Performance of Templates: time 0.07074/2.138, allocations: 37.63 MB / 1.495 GB, free: 4.793 MB / 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