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.00164/0.00164, allocations: 102.9 kB / 16.4 MB, free: 6.465 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.001726/0.001726, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.473/1.473, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.742/2.742, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 79.83 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9652/0.9667, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.33/2.297, allocations: 380.1 MB / 1.58 GB, free: 17.78 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.06194/2.359, allocations: 46.52 MB / 1.625 GB, free: 17.59 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009283/2.368, allocations: 177.5 kB / 1.625 GB, free: 17.59 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01085/2.379, allocations: 3.657 MB / 1.629 GB, free: 17.52 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02196/2.401, allocations: 7.593 MB / 1.636 GB, free: 17.22 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01131/2.412, allocations: 3.976 MB / 1.64 GB, free: 17.11 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.02666/2.439, allocations: 17.34 MB / 1.657 GB, free: 16.99 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01264/2.452, allocations: 5.628 MB / 1.663 GB, free: 16.21 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01715/2.469, allocations: 6.448 MB / 1.669 GB, free: 16.13 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009504/2.479, allocations: 3.762 MB / 1.673 GB, free: 15.65 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0028/2.481, allocations: 0.5048 MB / 1.673 GB, free: 15.65 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01713/2.498, allocations: 6.355 MB / 1.679 GB, free: 15.58 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.005176/2.504, allocations: 2.01 MB / 1.681 GB, free: 15.34 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.009879/2.514, allocations: 3.146 MB / 1.684 GB, free: 14.46 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.02204/2.536, allocations: 10.38 MB / 1.694 GB, free: 13.15 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/2.536, allocations: 0 / 1.694 GB, free: 13.15 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.224e-06/2.536, allocations: 3.938 kB / 1.694 GB, free: 13.14 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.000343/2.536, allocations: 0 / 1.694 GB, free: 13.14 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.01754/2.554, allocations: 6.485 MB / 1.701 GB, free: 10.19 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/2.554, allocations: 10.97 kB / 1.701 GB, free: 10.19 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01323/2.567, allocations: 2.009 MB / 1.703 GB, free: 9.391 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01392/2.581, allocations: 5.858 MB / 1.708 GB, free: 6.789 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004933/2.581, allocations: 389.3 kB / 1.709 GB, free: 6.539 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001648/2.583, allocations: 349.9 kB / 1.709 GB, free: 6.43 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/2.597, allocations: 4.507 MB / 1.714 GB, free: 3.781 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001349/2.597, allocations: 5.625 kB / 1.714 GB, free: 3.781 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001134/2.598, allocations: 137 kB / 1.714 GB, free: 3.68 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001609/2.598, allocations: 139.4 kB / 1.714 GB, free: 3.66 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/2.609, allocations: 3.953 MB / 1.718 GB, free: 1.734 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.03988/2.649, allocations: 19.51 MB / 1.737 GB, free: 14 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004717/2.654, allocations: 1.751 MB / 1.738 GB, free: 12.21 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002463/2.657, allocations: 0.9051 MB / 1.739 GB, free: 11.3 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007523/2.657, allocations: 410.7 kB / 1.74 GB, free: 10.83 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002862/2.66, allocations: 1.048 MB / 1.741 GB, free: 9.762 MB / 1.311 GB Notification: Performance of pre-optimization done (n=127): time 4.368e-06/2.66, allocations: 0 / 1.741 GB, free: 9.762 MB / 1.311 GB Notification: Performance of matching and sorting (n=127): time 0.009384/2.67, allocations: 2.889 MB / 1.744 GB, free: 6.863 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/2.67, allocations: 144 kB / 1.744 GB, free: 6.695 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/2.681, allocations: 4.657 MB / 1.748 GB, free: 2.051 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0005241/2.682, allocations: 57.7 kB / 1.748 GB, free: 1.988 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.003279/2.685, allocations: 2.431 MB / 1.751 GB, free: 15.56 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008674/2.686, allocations: 470.4 kB / 1.751 GB, free: 15.1 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001912/2.688, allocations: 0.6819 MB / 1.752 GB, free: 14.41 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0001133/2.688, allocations: 305.1 kB / 1.752 GB, free: 14.11 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003511/2.692, allocations: 1.366 MB / 1.753 GB, free: 12.73 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00449/2.696, allocations: 2.497 MB / 1.756 GB, free: 9.75 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007215/2.703, allocations: 3.681 MB / 1.759 GB, free: 5.754 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.824e-05/2.703, allocations: 12 kB / 1.759 GB, free: 5.742 MB / 1.326 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01099/2.714, allocations: 4.252 MB / 1.764 GB, free: 1.688 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-05/2.714, allocations: 45.7 kB / 1.764 GB, free: 1.637 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.492e-05/2.715, allocations: 32 kB / 1.764 GB, free: 1.605 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.61e-05/2.715, allocations: 48 kB / 1.764 GB, free: 1.559 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003262/2.718, allocations: 0.7239 MB / 1.764 GB, free: 0.8789 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.073e-05/2.718, allocations: 70.31 kB / 1.764 GB, free: 0.8242 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005425/2.723, allocations: 0.5196 MB / 1.765 GB, free: 308 kB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004867/2.724, allocations: 144 kB / 1.765 GB, free: 164 kB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006368/2.73, allocations: 2.514 MB / 1.768 GB, free: 13.64 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004434/2.735, allocations: 2.5 MB / 1.77 GB, free: 10.65 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007023/2.742, allocations: 3.686 MB / 1.774 GB, free: 6.645 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.758e-05/2.742, allocations: 14.91 kB / 1.774 GB, free: 6.633 MB / 1.342 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.01054/2.752, allocations: 4.243 MB / 1.778 GB, free: 2.582 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 6.884e-05/2.753, allocations: 52.3 kB / 1.778 GB, free: 2.527 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.708e-05/2.753, allocations: 32.06 kB / 1.778 GB, free: 2.496 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.535e-05/2.753, allocations: 52 kB / 1.778 GB, free: 2.445 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003167/2.756, allocations: 0.7174 MB / 1.779 GB, free: 1.773 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.441e-05/2.756, allocations: 68.83 kB / 1.779 GB, free: 1.719 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005473/2.761, allocations: 433.8 kB / 1.779 GB, free: 1.293 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005105/2.762, allocations: 143.4 kB / 1.779 GB, free: 1.156 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.0009799/2.763, allocations: 369.2 kB / 1.78 GB, free: 0.8359 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00152/2.765, allocations: 438.3 kB / 1.78 GB, free: 412 kB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006649/2.771, allocations: 2.31 MB / 1.782 GB, free: 14.11 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/2.771, allocations: 12 kB / 1.782 GB, free: 14.1 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/2.771, allocations: 0 / 1.782 GB, free: 14.1 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004354/2.776, allocations: 1.897 MB / 1.784 GB, free: 12.12 MB / 1.357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01763/2.793, allocations: 6.689 MB / 1.791 GB, free: 5.289 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.627e-05/2.793, allocations: 8 kB / 1.791 GB, free: 5.281 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/2.795, allocations: 323.4 kB / 1.791 GB, free: 4.98 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002755/2.795, allocations: 56.83 kB / 1.791 GB, free: 4.922 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/2.796, allocations: 39.98 kB / 1.791 GB, free: 4.883 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/2.797, allocations: 1.553 MB / 1.793 GB, free: 3.207 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/2.797, allocations: 15.75 kB / 1.793 GB, free: 3.195 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008395/2.805, allocations: 3.352 MB / 1.796 GB, free: 15.69 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002621/2.808, allocations: 0.7334 MB / 1.797 GB, free: 14.93 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001458/2.81, allocations: 35.94 kB / 1.797 GB, free: 14.9 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003747/2.813, allocations: 190.3 kB / 1.797 GB, free: 14.71 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/2.814, allocations: 117.2 kB / 1.797 GB, free: 14.61 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002173/2.814, allocations: 63.97 kB / 1.797 GB, free: 14.55 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.007745/2.822, allocations: 3.115 MB / 1.8 GB, free: 11.45 MB / 1.373 GB Notification: Performance of sort global known variables: time 2.91e-07/2.822, allocations: 0 / 1.8 GB, free: 11.45 MB / 1.373 GB Notification: Performance of remove unused functions: time 0.00972/2.831, allocations: 2.295 MB / 1.802 GB, free: 9.148 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.001948/2.833, allocations: 0.6311 MB / 1.803 GB, free: 8.566 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.01208/2.846, allocations: 4.846 MB / 1.808 GB, free: 3.938 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 1.708e-05/2.846, allocations: 4.125 kB / 1.808 GB, free: 3.934 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.002794/2.848, allocations: 1.01 MB / 1.809 GB, free: 2.961 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01206/2.86, allocations: 2.149 MB / 1.811 GB, free: 0.8594 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02343/2.884, allocations: 9.04 MB / 1.82 GB, free: 7.691 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004816/2.889, allocations: 2.988 MB / 1.822 GB, free: 4.676 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002047/2.891, allocations: 335.3 kB / 1.823 GB, free: 4.352 MB / 1.389 GB Notification: Performance of SimCode: time 1.633e-06/2.891, allocations: 0 / 1.823 GB, free: 4.352 MB / 1.389 GB Notification: Performance of Templates: time 0.1391/3.03, allocations: 87.78 MB / 1.908 GB, free: 13.09 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