Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|TSet.y|conPI.y|hea.Q_flow|hex.Q1_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|TSet.y|conPI.y|hea.Q_flow|hex.Q1_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 107.5 kB / 16.41 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 191 kB / 17.34 MB, free: 5.75 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.639/2.639, allocations: 461.9 MB / 0.7355 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 60.12 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9487/0.9504, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.267/2.218, allocations: 380.1 MB / 1.58 GB, free: 17.8 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.05205/2.27, allocations: 46.53 MB / 1.625 GB, free: 17.61 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007222/2.277, allocations: 176.8 kB / 1.625 GB, free: 17.61 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.009785/2.287, allocations: 3.644 MB / 1.629 GB, free: 17.54 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02077/2.308, allocations: 7.597 MB / 1.636 GB, free: 17.24 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.00996/2.318, allocations: 3.98 MB / 1.64 GB, free: 17.12 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.02343/2.341, allocations: 17.33 MB / 1.657 GB, free: 17.01 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009762/2.351, allocations: 5.633 MB / 1.663 GB, free: 16.23 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01485/2.366, allocations: 6.452 MB / 1.669 GB, free: 16.15 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008556/2.375, allocations: 3.766 MB / 1.673 GB, free: 15.66 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002157/2.377, allocations: 0.5033 MB / 1.673 GB, free: 15.66 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01483/2.392, allocations: 6.347 MB / 1.679 GB, free: 15.6 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.003687/2.395, allocations: 2.008 MB / 1.681 GB, free: 15.37 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.007018/2.402, allocations: 3.149 MB / 1.684 GB, free: 14.48 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01984/2.422, allocations: 10.38 MB / 1.694 GB, free: 13.17 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/2.422, allocations: 0 / 1.694 GB, free: 13.17 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.934e-06/2.422, allocations: 0 / 1.694 GB, free: 13.17 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0002925/2.423, allocations: 4 kB / 1.694 GB, free: 13.16 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 864 * Number of variables: 864 Notification: Performance of Generate backend data structure: time 0.01628/2.439, allocations: 6.478 MB / 1.701 GB, free: 10.21 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/2.439, allocations: 7.312 kB / 1.701 GB, free: 10.21 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/2.451, allocations: 2.014 MB / 1.703 GB, free: 9.41 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01271/2.464, allocations: 5.859 MB / 1.708 GB, free: 6.828 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003756/2.464, allocations: 385.9 kB / 1.709 GB, free: 6.578 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001221/2.465, allocations: 349.7 kB / 1.709 GB, free: 6.469 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/2.476, allocations: 4.509 MB / 1.714 GB, free: 3.82 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.351e-05/2.476, allocations: 5.188 kB / 1.714 GB, free: 3.82 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004159/2.476, allocations: 140.5 kB / 1.714 GB, free: 3.719 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/2.476, allocations: 136 kB / 1.714 GB, free: 3.699 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009392/2.486, allocations: 3.955 MB / 1.718 GB, free: 1.773 MB / 1.279 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.03383/2.52, allocations: 19.51 MB / 1.737 GB, free: 14.1 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004259/2.524, allocations: 1.757 MB / 1.738 GB, free: 12.31 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002345/2.526, allocations: 0.9051 MB / 1.739 GB, free: 11.4 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007343/2.527, allocations: 406.8 kB / 1.74 GB, free: 10.93 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002852/2.53, allocations: 1.048 MB / 1.741 GB, free: 9.863 MB / 1.311 GB Notification: Performance of pre-optimization done (n=127): time 4.318e-06/2.53, allocations: 4 kB / 1.741 GB, free: 9.859 MB / 1.311 GB Notification: Performance of matching and sorting (n=127): time 0.009222/2.539, allocations: 2.886 MB / 1.744 GB, free: 6.965 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/2.539, allocations: 145.5 kB / 1.744 GB, free: 6.793 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01061/2.55, allocations: 4.657 MB / 1.748 GB, free: 2.152 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0004434/2.55, allocations: 61.7 kB / 1.748 GB, free: 2.086 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.002924/2.553, allocations: 2.427 MB / 1.751 GB, free: 15.66 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007929/2.554, allocations: 472.6 kB / 1.751 GB, free: 15.2 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001722/2.556, allocations: 0.6804 MB / 1.752 GB, free: 14.51 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.000108/2.556, allocations: 309 kB / 1.752 GB, free: 14.21 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003406/2.559, allocations: 1.366 MB / 1.753 GB, free: 12.83 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004297/2.564, allocations: 2.497 MB / 1.756 GB, free: 9.848 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006885/2.571, allocations: 3.682 MB / 1.759 GB, free: 5.852 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.819e-05/2.571, allocations: 8 kB / 1.759 GB, free: 5.844 MB / 1.326 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01076/2.581, allocations: 4.249 MB / 1.764 GB, free: 1.785 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 8.42e-05/2.582, allocations: 49.7 kB / 1.764 GB, free: 1.73 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.908e-05/2.582, allocations: 34.62 kB / 1.764 GB, free: 1.699 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.407e-05/2.582, allocations: 48 kB / 1.764 GB, free: 1.652 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003176/2.585, allocations: 0.7168 MB / 1.764 GB, free: 0.9805 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.314e-05/2.585, allocations: 72.72 kB / 1.764 GB, free: 0.9219 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00484/2.59, allocations: 0.5157 MB / 1.765 GB, free: 412 kB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000463/2.59, allocations: 148 kB / 1.765 GB, free: 264 kB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006297/2.597, allocations: 2.516 MB / 1.768 GB, free: 13.74 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004584/2.601, allocations: 2.508 MB / 1.77 GB, free: 10.74 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007044/2.608, allocations: 3.686 MB / 1.774 GB, free: 6.738 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.251e-05/2.608, allocations: 12 kB / 1.774 GB, free: 6.727 MB / 1.342 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.01065/2.619, allocations: 4.234 MB / 1.778 GB, free: 2.684 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-05/2.619, allocations: 57.62 kB / 1.778 GB, free: 2.621 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.337e-05/2.619, allocations: 35.94 kB / 1.778 GB, free: 2.586 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.633e-05/2.619, allocations: 48 kB / 1.778 GB, free: 2.539 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003129/2.622, allocations: 0.7138 MB / 1.779 GB, free: 1.871 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.323e-05/2.623, allocations: 70.7 kB / 1.779 GB, free: 1.816 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004968/2.628, allocations: 437.8 kB / 1.779 GB, free: 1.387 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000532/2.628, allocations: 144 kB / 1.779 GB, free: 1.246 MB / 1.342 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (352): * Single equations (assignments): 346 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * 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.000918/2.629, allocations: 368.1 kB / 1.78 GB, free: 0.9258 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/2.63, allocations: 438.3 kB / 1.78 GB, free: 0.4922 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006372/2.637, allocations: 2.3 MB / 1.782 GB, free: 14.19 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/2.637, allocations: 12 kB / 1.782 GB, free: 14.18 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/2.637, allocations: 0 / 1.782 GB, free: 14.18 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004536/2.641, allocations: 1.896 MB / 1.784 GB, free: 12.2 MB / 1.357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01823/2.66, allocations: 6.685 MB / 1.791 GB, free: 5.375 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.82e-05/2.66, allocations: 8 kB / 1.791 GB, free: 5.367 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/2.662, allocations: 324.4 kB / 1.791 GB, free: 5.066 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002564/2.662, allocations: 59.92 kB / 1.791 GB, free: 5.008 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/2.662, allocations: 39.98 kB / 1.791 GB, free: 4.969 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/2.663, allocations: 1.548 MB / 1.793 GB, free: 3.293 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.339e-05/2.663, allocations: 18.09 kB / 1.793 GB, free: 3.281 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008457/2.672, allocations: 3.358 MB / 1.796 GB, free: 15.77 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002828/2.675, allocations: 0.7295 MB / 1.797 GB, free: 15.02 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001905/2.677, allocations: 35.94 kB / 1.797 GB, free: 14.98 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004123/2.681, allocations: 191.8 kB / 1.797 GB, free: 14.8 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002986/2.681, allocations: 114.8 kB / 1.797 GB, free: 14.69 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002284/2.681, allocations: 63.97 kB / 1.797 GB, free: 14.63 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.007523/2.689, allocations: 3.115 MB / 1.8 GB, free: 11.53 MB / 1.373 GB Notification: Performance of sort global known variables: time 4.91e-07/2.689, allocations: 7.656 kB / 1.8 GB, free: 11.53 MB / 1.373 GB Notification: Performance of remove unused functions: time 0.009131/2.698, allocations: 2.302 MB / 1.802 GB, free: 9.223 MB / 1.373 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00181/2.7, allocations: 0.6189 MB / 1.803 GB, free: 8.652 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.01177/2.712, allocations: 4.847 MB / 1.808 GB, free: 4.02 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-05/2.712, allocations: 0 / 1.808 GB, free: 4.02 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.002805/2.715, allocations: 1.016 MB / 1.809 GB, free: 3.043 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01234/2.727, allocations: 2.141 MB / 1.811 GB, free: 0.9531 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02263/2.75, allocations: 9.047 MB / 1.82 GB, free: 7.777 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004475/2.754, allocations: 2.991 MB / 1.822 GB, free: 4.758 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001624/2.756, allocations: 335.3 kB / 1.823 GB, free: 4.434 MB / 1.389 GB Notification: Performance of SimCode: time 9.42e-07/2.756, allocations: 0 / 1.823 GB, free: 4.434 MB / 1.389 GB Notification: Performance of Templates: time 0.1349/2.891, allocations: 88.5 MB / 1.909 GB, free: 12.45 MB / 1.482 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches