Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.456/2.456, allocations: 393.5 MB / 408.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 185.7 kB / 0.4902 GB, free: 2.285 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 223.1 MB / 0.7992 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009772/0.0009772, allocations: 110.8 kB / 0.9396 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 10.38 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2615, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1736/0.4352, allocations: 154.4 MB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.4355, allocations: 95.94 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02034/0.4558, allocations: 6.954 MB / 1.387 GB, free: 8.16 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4559, allocations: 4 kB / 1.387 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.954e-05/0.4559, allocations: 4 kB / 1.387 GB, free: 8.152 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001102/0.457, allocations: 0.7855 MB / 1.388 GB, free: 7.277 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.457, allocations: 20.52 kB / 1.388 GB, free: 7.258 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.879e-05/0.4571, allocations: 35.58 kB / 1.388 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/0.4576, allocations: 307 kB / 1.388 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.4576, allocations: 12.28 kB / 1.388 GB, free: 6.871 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.4576, allocations: 16 kB / 1.388 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.4582, allocations: 318.9 kB / 1.388 GB, free: 6.539 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.4583, allocations: 0 / 1.388 GB, free: 6.539 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.4583, allocations: 8 kB / 1.388 GB, free: 6.531 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4583, allocations: 4 kB / 1.388 GB, free: 6.527 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006772/0.459, allocations: 308.3 kB / 1.389 GB, free: 6.227 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.4602, allocations: 0.7388 MB / 1.389 GB, free: 5.438 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.4608, allocations: 254.6 kB / 1.39 GB, free: 5.18 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.4608, allocations: 0 / 1.39 GB, free: 5.18 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.4608, allocations: 30.56 kB / 1.39 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.4608, allocations: 3.938 kB / 1.39 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.001481/0.4623, allocations: 0.9506 MB / 1.391 GB, free: 4.105 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.168e-05/0.4624, allocations: 140.5 kB / 1.391 GB, free: 3.938 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/0.4628, allocations: 343.6 kB / 1.391 GB, free: 3.598 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.4628, allocations: 25.7 kB / 1.391 GB, free: 3.566 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.4629, allocations: 172.3 kB / 1.391 GB, free: 3.395 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.463, allocations: 39.56 kB / 1.391 GB, free: 3.355 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.463, allocations: 7.938 kB / 1.391 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4632, allocations: 338.8 kB / 1.392 GB, free: 3.008 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/0.4636, allocations: 247.8 kB / 1.392 GB, free: 2.766 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/0.4641, allocations: 255.8 kB / 1.392 GB, free: 2.516 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/0.4646, allocations: 422.1 kB / 1.392 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.4646, allocations: 0 / 1.392 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001119/0.4657, allocations: 0.7465 MB / 1.393 GB, free: 1.277 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.4658, allocations: 182.2 kB / 1.393 GB, free: 1.062 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4658, allocations: 0 / 1.393 GB, free: 1.062 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.4659, allocations: 4 kB / 1.393 GB, free: 1.059 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.4661, allocations: 35.97 kB / 1.393 GB, free: 1.023 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.4661, allocations: 3.984 kB / 1.393 GB, free: 1.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.4663, allocations: 63.61 kB / 1.393 GB, free: 0.957 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.4664, allocations: 12 kB / 1.393 GB, free: 0.9453 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002377/0.4666, allocations: 262.8 kB / 1.394 GB, free: 0.6602 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.4667, allocations: 23.72 kB / 1.394 GB, free: 0.6367 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.297e-05/0.4667, allocations: 30.94 kB / 1.394 GB, free: 0.6055 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4667, allocations: 0 / 1.394 GB, free: 0.6055 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4667, allocations: 0 / 1.394 GB, free: 0.6055 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4668, allocations: 4 kB / 1.394 GB, free: 0.6016 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.4671, allocations: 353.2 kB / 1.394 GB, free: 212 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4671, allocations: 0 / 1.394 GB, free: 212 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.4673, allocations: 43.97 kB / 1.394 GB, free: 168 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4673, allocations: 0 / 1.394 GB, free: 168 kB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.4673, allocations: 4 kB / 1.394 GB, free: 164 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4673, allocations: 0 / 1.394 GB, free: 164 kB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4674, allocations: 4 kB / 1.394 GB, free: 160 kB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009665/0.4683, allocations: 0.6601 MB / 1.395 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.312e-05/0.4684, allocations: 104.7 kB / 1.395 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.4685, allocations: 8 kB / 1.395 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.4687, allocations: 43.89 kB / 1.395 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.4688, allocations: 31.95 kB / 1.395 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.4689, allocations: 4 kB / 1.395 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002751/0.4691, allocations: 271 kB / 1.395 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4692, allocations: 4 kB / 1.395 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000479/0.4696, allocations: 127.9 kB / 1.395 GB, free: 14.86 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004741/0.4701, allocations: 284.8 kB / 1.396 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.4713, allocations: 0.8632 MB / 1.396 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4713, allocations: 0 / 1.396 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005045/0.4718, allocations: 398 kB / 1.397 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.4721, allocations: 69.28 kB / 1.397 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009877/0.4731, allocations: 0.7181 MB / 1.398 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.4735, allocations: 0.7948 MB / 1.398 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 8.434e-05/0.4736, allocations: 17.95 kB / 1.398 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.814e-05/0.4736, allocations: 19.44 kB / 1.398 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of SimCode: time 3.11e-07/0.4736, allocations: 0 / 1.398 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of Templates: time 0.01057/0.4842, allocations: 6.488 MB / 1.405 GB, free: 5.145 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches