Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.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.Examples.TrickleVent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8640,variableFilter="time|tabDat_m_flow.m_flow|tabDat_V_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent") translateModel(Buildings.Airflow.Multizone.Examples.TrickleVent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8640,variableFilter="time|tabDat_m_flow.m_flow|tabDat_V_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, 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.001598/0.001598, allocations: 184.2 kB / 16.92 MB, free: 6.922 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.518/1.518, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.942/2.942, allocations: 462.6 MB / 0.7371 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004002, allocations: 11.31 kB / 0.9034 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.375, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.TrickleVent): time 0.2082/0.5833, allocations: 183.2 MB / 1.238 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8065/1.39, allocations: 16.34 MB / 1.254 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002867/1.393, allocations: 46.5 kB / 1.254 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002164/1.395, allocations: 0.6432 MB / 1.255 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007413/1.402, allocations: 2.203 MB / 1.257 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00565/1.408, allocations: 1.782 MB / 1.259 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00702/1.415, allocations: 4.575 MB / 1.263 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003228/1.418, allocations: 1.751 MB / 1.265 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005094/1.423, allocations: 1.241 MB / 1.266 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00251/1.426, allocations: 1.166 MB / 1.267 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002451/1.426, allocations: 61.62 kB / 1.267 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006277/1.432, allocations: 2.208 MB / 1.27 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001136/1.434, allocations: 0.5748 MB / 1.27 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003464/1.437, allocations: 1.074 MB / 1.271 GB, free: 18.36 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006626/1.444, allocations: 2.866 MB / 1.274 GB, free: 18.12 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/1.444, allocations: 1.172 kB / 1.274 GB, free: 18.12 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.324e-06/1.444, allocations: 4 kB / 1.274 GB, free: 18.12 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001014/1.444, allocations: 0.5625 kB / 1.274 GB, free: 18.12 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: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.006767/1.451, allocations: 2.415 MB / 1.276 GB, free: 16.81 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/1.451, allocations: 9.5 kB / 1.276 GB, free: 16.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004111/1.455, allocations: 0.5604 MB / 1.277 GB, free: 16.67 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00339/1.458, allocations: 1.505 MB / 1.278 GB, free: 16.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/1.458, allocations: 135.6 kB / 1.278 GB, free: 16.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003083/1.459, allocations: 177 kB / 1.279 GB, free: 16.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004022/1.463, allocations: 2.062 MB / 1.281 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.175e-05/1.463, allocations: 0.9688 kB / 1.281 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/1.463, allocations: 79.31 kB / 1.281 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.062e-05/1.463, allocations: 69.56 kB / 1.281 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003833/1.467, allocations: 2.107 MB / 1.283 GB, free: 15.91 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.01237/1.479, allocations: 7.684 MB / 1.29 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/1.482, allocations: 1.7 MB / 1.292 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/1.484, allocations: 0.7581 MB / 1.293 GB, free: 12.35 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008303/1.484, allocations: 0.6607 MB / 1.293 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001786/1.486, allocations: 0.9836 MB / 1.294 GB, free: 11.6 MB / 1.014 GB Notification: Performance of pre-optimization done (n=151): time 3.697e-06/1.486, allocations: 3.938 kB / 1.294 GB, free: 11.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=151): time 0.006554/1.493, allocations: 2.683 MB / 1.297 GB, free: 11.11 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/1.493, allocations: 228.9 kB / 1.297 GB, free: 10.86 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00236/1.495, allocations: 1.516 MB / 1.299 GB, free: 10.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001904/1.496, allocations: 61.83 kB / 1.299 GB, free: 10.65 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007928/1.496, allocations: 0.8425 MB / 1.3 GB, free: 10.35 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005512/1.497, allocations: 0.4971 MB / 1.3 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/1.497, allocations: 114.7 kB / 1.3 GB, free: 10.01 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.497, allocations: 364.2 kB / 1.3 GB, free: 9.699 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/1.498, allocations: 0.5998 MB / 1.301 GB, free: 9.691 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/1.5, allocations: 0.7792 MB / 1.302 GB, free: 9.574 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002279/1.502, allocations: 1.39 MB / 1.303 GB, free: 9.469 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/1.502, allocations: 0 / 1.303 GB, free: 9.469 MB / 1.014 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003793/1.506, allocations: 1.822 MB / 1.305 GB, free: 9.262 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/1.506, allocations: 144.3 kB / 1.305 GB, free: 9.105 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.506, allocations: 3.031 kB / 1.305 GB, free: 9.105 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007907/1.507, allocations: 148.6 kB / 1.305 GB, free: 9.078 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/1.508, allocations: 326.6 kB / 1.306 GB, free: 9.074 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004101/1.512, allocations: 4.231 MB / 1.31 GB, free: 5.262 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002481/1.515, allocations: 210.8 kB / 1.31 GB, free: 5.188 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/1.515, allocations: 65.98 kB / 1.31 GB, free: 5.188 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/1.515, allocations: 2.969 kB / 1.31 GB, free: 5.188 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00316/1.518, allocations: 1.616 MB / 1.312 GB, free: 5.105 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.518, allocations: 0 / 1.312 GB, free: 5.105 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006994/1.519, allocations: 142.9 kB / 1.312 GB, free: 5.074 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/1.52, allocations: 319 kB / 1.312 GB, free: 5.074 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003871/1.524, allocations: 4.242 MB / 1.316 GB, free: 1.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/1.526, allocations: 195.8 kB / 1.316 GB, free: 1.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/1.527, allocations: 61.28 kB / 1.316 GB, free: 1.18 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001511/1.528, allocations: 0.5407 MB / 1.317 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004577/1.529, allocations: 183.8 kB / 1.317 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004035/1.533, allocations: 2.035 MB / 1.319 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/1.533, allocations: 16.59 kB / 1.319 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.533, allocations: 0 / 1.319 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003078/1.536, allocations: 1.702 MB / 1.321 GB, free: 496 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007976/1.544, allocations: 3.875 MB / 1.325 GB, free: 60 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/1.544, allocations: 2.938 kB / 1.325 GB, free: 60 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/1.545, allocations: 311 kB / 1.325 GB, free: 56 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007249/1.546, allocations: 148.2 kB / 1.325 GB, free: 24 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/1.546, allocations: 51.77 kB / 1.325 GB, free: 20 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004266/1.55, allocations: 4.225 MB / 1.329 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.55, allocations: 3.938 kB / 1.329 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006125/1.556, allocations: 2.83 MB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/1.558, allocations: 483.9 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006952/1.559, allocations: 32.53 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/1.561, allocations: 164.5 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002889/1.561, allocations: 114.8 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/1.561, allocations: 64.06 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00227/1.564, allocations: 1.062 MB / 1.334 GB, free: 11.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.01e-07/1.564, allocations: 0 / 1.334 GB, free: 11.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00511/1.569, allocations: 1.141 MB / 1.335 GB, free: 11.36 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.medium.Xi[1],room.dynBal.U,room.dynBal.m,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.conTimMin.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002864/1.572, allocations: 0.7924 MB / 1.336 GB, free: 11.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00597/1.578, allocations: 3.055 MB / 1.339 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.578, allocations: 3.25 kB / 1.339 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002046/1.58, allocations: 1.178 MB / 1.34 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004703/1.584, allocations: 0.6981 MB / 1.34 GB, free: 9.988 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009336/1.594, allocations: 4.969 MB / 1.345 GB, free: 7.527 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/1.596, allocations: 1.507 MB / 1.347 GB, free: 6.773 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008913/1.597, allocations: 194.3 kB / 1.347 GB, free: 6.762 MB / 1.029 GB Notification: Performance of SimCode: time 9.72e-07/1.597, allocations: 1.75 kB / 1.347 GB, free: 6.762 MB / 1.029 GB Notification: Performance of Templates: time 0.08342/1.68, allocations: 55.51 MB / 1.401 GB, free: 9.488 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_TrickleVent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.TrickleVent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,tabDat_m_flow.m_flow,tabDat_V_flow.V_flow Variables in the result:tabDat_V_flow.V_flow,tabDat_m_flow.m_flow,time