Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.QMax_flow|hex.Q1_flow|hex.Q2_flow|hex.hA.hA_1|hex.hA.hA_2",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.QMax_flow|hex.Q1_flow|hex.Q2_flow|hex.hA.hA_1|hex.hA.hA_2",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 99.27 kB / 16.02 MB, free: 76 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.001273/0.001273, allocations: 180.2 kB / 16.92 MB, free: 6.918 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.453/1.453, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.916/2.916, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004219/0.0004218, allocations: 8.844 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3714, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 1.007/1.378, allocations: 201.8 MB / 1.256 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01906/1.397, allocations: 13.66 MB / 1.27 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002994/1.4, allocations: 40.53 kB / 1.27 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002748/1.403, allocations: 0.6523 MB / 1.27 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007495/1.411, allocations: 2.071 MB / 1.272 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006616/1.417, allocations: 1.836 MB / 1.274 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008348/1.426, allocations: 4.168 MB / 1.278 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002876/1.429, allocations: 0.9707 MB / 1.279 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007853/1.436, allocations: 1.613 MB / 1.281 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003687/1.44, allocations: 1.016 MB / 1.282 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000405/1.441, allocations: 54.41 kB / 1.282 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009465/1.45, allocations: 3.188 MB / 1.285 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001014/1.451, allocations: 342.9 kB / 1.285 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001986/1.453, allocations: 0.7268 MB / 1.286 GB, free: 18.46 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005219/1.458, allocations: 2.232 MB / 1.288 GB, free: 18.28 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.458, allocations: 0 / 1.288 GB, free: 18.28 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.377e-06/1.458, allocations: 1.594 kB / 1.288 GB, free: 18.28 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.07e-05/1.458, allocations: 2.906 kB / 1.288 GB, free: 18.28 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.005218/1.464, allocations: 1.826 MB / 1.29 GB, free: 17.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/1.464, allocations: 14 kB / 1.29 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003539/1.467, allocations: 0.5691 MB / 1.291 GB, free: 17.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002711/1.47, allocations: 1.087 MB / 1.292 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007048/1.471, allocations: 212.4 kB / 1.292 GB, free: 16.69 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002357/1.471, allocations: 95.81 kB / 1.292 GB, free: 16.69 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002914/1.474, allocations: 1.275 MB / 1.293 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/1.474, allocations: 2.906 kB / 1.293 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/1.474, allocations: 41.59 kB / 1.293 GB, free: 16.58 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-05/1.474, allocations: 35.84 kB / 1.293 GB, free: 16.58 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003255/1.477, allocations: 1.323 MB / 1.295 GB, free: 16.55 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.008959/1.486, allocations: 4.897 MB / 1.299 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/1.489, allocations: 1.029 MB / 1.3 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/1.49, allocations: 0.5746 MB / 1.301 GB, free: 14.42 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/1.492, allocations: 0.8699 MB / 1.302 GB, free: 13.56 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001516/1.493, allocations: 0.696 MB / 1.302 GB, free: 13.44 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 3.527e-06/1.493, allocations: 4.062 kB / 1.302 GB, free: 13.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.004716/1.498, allocations: 1.772 MB / 1.304 GB, free: 13.24 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.775e-05/1.498, allocations: 127.9 kB / 1.304 GB, free: 13.11 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/1.5, allocations: 1.04 MB / 1.305 GB, free: 12.96 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000165/1.5, allocations: 43.02 kB / 1.305 GB, free: 12.93 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005008/1.5, allocations: 0.5289 MB / 1.306 GB, free: 12.74 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/1.501, allocations: 276.3 kB / 1.306 GB, free: 12.56 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/1.501, allocations: 87.5 kB / 1.306 GB, free: 12.54 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001682/1.501, allocations: 345 kB / 1.307 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/1.502, allocations: 0.5055 MB / 1.307 GB, free: 12.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/1.504, allocations: 0.6978 MB / 1.308 GB, free: 12.05 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002526/1.506, allocations: 1.22 MB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/1.506, allocations: 0 / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003388/1.51, allocations: 1.497 MB / 1.31 GB, free: 11.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.00018/1.51, allocations: 225.6 kB / 1.311 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.51, allocations: 3.094 kB / 1.311 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/1.51, allocations: 6.344 kB / 1.311 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/1.511, allocations: 262.6 kB / 1.311 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/1.511, allocations: 5.531 kB / 1.311 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/1.513, allocations: 206.6 kB / 1.311 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/1.513, allocations: 45.97 kB / 1.311 GB, free: 11.29 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/1.513, allocations: 2.938 kB / 1.311 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002911/1.516, allocations: 1.408 MB / 1.312 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.516, allocations: 9.688 kB / 1.312 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/1.516, allocations: 8.938 kB / 1.312 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/1.517, allocations: 258.7 kB / 1.313 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/1.517, allocations: 6.469 kB / 1.313 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/1.519, allocations: 197.9 kB / 1.313 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/1.519, allocations: 44.62 kB / 1.313 GB, free: 11.11 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 (hex.flowRegime_nominal,hex.flowRegime,mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 2 * 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.0009642/1.52, allocations: 472.8 kB / 1.313 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/1.52, allocations: 134.3 kB / 1.314 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003284/1.523, allocations: 1.502 MB / 1.315 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/1.523, allocations: 12.25 kB / 1.315 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/1.523, allocations: 3.188 kB / 1.315 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/1.524, allocations: 3.188 kB / 1.315 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005729/1.529, allocations: 2.955 MB / 1.318 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/1.529, allocations: 3.594 kB / 1.318 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009574/1.53, allocations: 204.6 kB / 1.318 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/1.53, allocations: 10.41 kB / 1.318 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.86e-05/1.53, allocations: 39.75 kB / 1.318 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/1.53, allocations: 9.344 kB / 1.318 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/1.53, allocations: 2.156 kB / 1.318 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004647/1.535, allocations: 2.285 MB / 1.32 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008129/1.536, allocations: 346.6 kB / 1.321 GB, free: 9.441 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/1.536, allocations: 26.69 kB / 1.321 GB, free: 9.438 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/1.537, allocations: 159.1 kB / 1.321 GB, free: 9.422 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/1.538, allocations: 64.55 kB / 1.321 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/1.538, allocations: 46.56 kB / 1.321 GB, free: 9.414 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00108/1.539, allocations: 0.7164 MB / 1.322 GB, free: 9.305 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/1.539, allocations: 0 / 1.322 GB, free: 9.305 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002803/1.542, allocations: 0.7993 MB / 1.322 GB, free: 9.199 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.001473/1.543, allocations: 0.513 MB / 1.323 GB, free: 9.039 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005004/1.548, allocations: 2.251 MB / 1.325 GB, free: 8.734 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.548, allocations: 0 / 1.325 GB, free: 8.734 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001491/1.55, allocations: 0.7705 MB / 1.326 GB, free: 8.594 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003717/1.553, allocations: 0.5197 MB / 1.326 GB, free: 8.551 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005813/1.559, allocations: 2.981 MB / 1.329 GB, free: 7.074 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008637/1.56, allocations: 1.158 MB / 1.33 GB, free: 6.355 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005609/1.561, allocations: 116.7 kB / 1.331 GB, free: 6.348 MB / 1.014 GB Notification: Performance of SimCode: time 1.423e-06/1.561, allocations: 0 / 1.331 GB, free: 6.348 MB / 1.014 GB Notification: Performance of Templates: time 0.04405/1.605, allocations: 22.61 MB / 1.353 GB, free: 12.92 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches