Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.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_9_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_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00483/0.00483, allocations: 102 kB / 15.73 MB, free: 6.039 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.001081/0.001081, allocations: 194.5 kB / 16.67 MB, free: 5.961 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.238/2.238, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 67.91 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7405/0.7417, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002884/0.7446, allocations: 2.096 MB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.7462, allocations: 1.179 MB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.7464, allocations: 2.906 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003951/0.7468, allocations: 115.9 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.848e-05/0.7469, allocations: 50.02 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007455/0.7477, allocations: 255.7 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003647/0.748, allocations: 320.2 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.7482, allocations: 102.7 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.7483, allocations: 104.8 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.7485, allocations: 127.9 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.207e-05/0.7486, allocations: 29.97 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004132/0.749, allocations: 227.6 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.7491, allocations: 94.2 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.7492, allocations: 153.3 kB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007217/0.75, allocations: 0.5559 MB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.75, allocations: 0 / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.744e-06/0.75, allocations: 1.406 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.75, allocations: 0 / 1.093 GB, free: 2.328 MB / 0.8575 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.001057/0.7511, allocations: 0.804 MB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.7511, allocations: 9.422 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.608e-05/0.7512, allocations: 33.91 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.7516, allocations: 328.7 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.7516, allocations: 12.53 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.7517, allocations: 20.59 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000649/0.7523, allocations: 288.6 kB / 1.095 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.7523, allocations: 9.5 kB / 1.095 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.7524, allocations: 11.09 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.7524, allocations: 3.156 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007149/0.7531, allocations: 273 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009719/0.7541, allocations: 0.6717 MB / 1.096 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005724/0.7547, allocations: 226.1 kB / 1.096 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.7551, allocations: 193.8 kB / 1.096 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.7551, allocations: 1.094 kB / 1.096 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.7551, allocations: 33.08 kB / 1.096 GB, free: 484 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.7552, allocations: 0 / 1.096 GB, free: 484 kB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.001408/0.7566, allocations: 0.671 MB / 1.097 GB, free: 192 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.7566, allocations: 139.3 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004676/0.7571, allocations: 376.1 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.7571, allocations: 28.39 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.7573, allocations: 170.7 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.7573, allocations: 44.95 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.716e-05/0.7574, allocations: 47.89 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.7575, allocations: 344 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004781/0.758, allocations: 238.2 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004628/0.7585, allocations: 244.1 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.7595, allocations: 0.6828 MB / 1.099 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7595, allocations: 0 / 1.099 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001256/0.7608, allocations: 0.7362 MB / 1.1 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.7609, allocations: 184.2 kB / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.7609, allocations: 0.6562 kB / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.761, allocations: 0.9844 kB / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.7612, allocations: 31.64 kB / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.7612, allocations: 5.188 kB / 1.1 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.7614, allocations: 41.98 kB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.7615, allocations: 11.44 kB / 1.1 GB, free: 14.12 MB / 0.8731 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.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002404/0.7617, allocations: 258.2 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.7618, allocations: 31.12 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.891e-05/0.7619, allocations: 28.84 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.7619, allocations: 1.094 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.7619, allocations: 4.609 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.7619, allocations: 1.75 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.7623, allocations: 349.3 kB / 1.101 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7624, allocations: 0 / 1.101 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.7625, allocations: 32.25 kB / 1.101 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.7625, allocations: 1.734 kB / 1.101 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.7626, allocations: 3.75 kB / 1.101 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.7626, allocations: 0.6562 kB / 1.101 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7626, allocations: 0.875 kB / 1.101 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.7636, allocations: 0.6193 MB / 1.101 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.79e-05/0.7637, allocations: 112.3 kB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.7638, allocations: 9.469 kB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.764, allocations: 32.83 kB / 1.101 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.7641, allocations: 25.66 kB / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.7642, allocations: 5.312 kB / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000375/0.7645, allocations: 275.6 kB / 1.102 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7646, allocations: 0 / 1.102 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005633/0.7651, allocations: 115.5 kB / 1.102 GB, free: 12.92 MB / 0.8731 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 (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.0003312/0.7655, allocations: 159.4 kB / 1.102 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001251/0.7667, allocations: 0.8333 MB / 1.103 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7667, allocations: 1.469 kB / 1.103 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005504/0.7673, allocations: 375.2 kB / 1.103 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.7678, allocations: 78.22 kB / 1.103 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.7689, allocations: 0.6406 MB / 1.104 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.7693, allocations: 0.7846 MB / 1.104 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.775e-05/0.7695, allocations: 23.97 kB / 1.105 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.7695, allocations: 21.75 kB / 1.105 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/0.7695, allocations: 0 / 1.105 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of Templates: time 0.01489/0.7844, allocations: 6.102 MB / 1.111 GB, free: 10.5 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches