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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008867/0.0008867, allocations: 92.16 kB / 16.02 MB, free: 80 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.00115/0.00115, allocations: 174.5 kB / 16.92 MB, free: 6.652 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.419/1.419, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.905/2.905, allocations: 462.7 MB / 0.7371 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003911, allocations: 12.31 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3333, allocations: 159.6 MB / 1.059 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002459/0.3358, allocations: 1.803 MB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002112/0.3379, allocations: 1.208 MB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.3381, allocations: 0 / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004529/0.3386, allocations: 107.5 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.3388, allocations: 31.72 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007593/0.3395, allocations: 199.7 kB / 1.063 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003511/0.3399, allocations: 267.2 kB / 1.063 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.3401, allocations: 87.33 kB / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.3402, allocations: 71.7 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.3404, allocations: 111.4 kB / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.51e-05/0.3405, allocations: 12 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.3408, allocations: 199.7 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.341, allocations: 79.69 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.3411, allocations: 152.9 kB / 1.064 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004422/0.3416, allocations: 414.9 kB / 1.064 GB, free: 184 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3416, allocations: 8 kB / 1.064 GB, free: 176 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3416, allocations: 0 / 1.064 GB, free: 176 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.3416, allocations: 0 / 1.064 GB, free: 176 kB / 0.8106 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.001187/0.3428, allocations: 0.7673 MB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3428, allocations: 11.97 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.273e-05/0.3429, allocations: 36.47 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.3434, allocations: 320.4 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.3434, allocations: 12.66 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.3434, allocations: 20.36 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006329/0.3441, allocations: 315.2 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3441, allocations: 0 / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.3441, allocations: 8 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3441, allocations: 8 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007076/0.3448, allocations: 300.4 kB / 1.066 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00098/0.3458, allocations: 0.68 MB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005616/0.3464, allocations: 242.6 kB / 1.067 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004289/0.3468, allocations: 204.7 kB / 1.067 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.3469, allocations: 4 kB / 1.067 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.3469, allocations: 34.56 kB / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.794e-06/0.3469, allocations: 3.938 kB / 1.067 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.001457/0.3484, allocations: 0.7237 MB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.671e-05/0.3485, allocations: 140.6 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004268/0.3489, allocations: 384.4 kB / 1.068 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.349, allocations: 29.7 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.3491, allocations: 172.3 kB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.3491, allocations: 43.44 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.3492, allocations: 25.72 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3493, allocations: 346.7 kB / 1.069 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/0.3498, allocations: 251.9 kB / 1.069 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/0.3503, allocations: 255.8 kB / 1.069 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009724/0.3512, allocations: 0.7189 MB / 1.07 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3513, allocations: 0 / 1.07 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001132/0.3524, allocations: 0.7608 MB / 1.071 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.3525, allocations: 178.2 kB / 1.071 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3525, allocations: 4 kB / 1.071 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.3526, allocations: 4 kB / 1.071 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.3527, allocations: 31.97 kB / 1.071 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3528, allocations: 4 kB / 1.071 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.353, allocations: 59.7 kB / 1.071 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.353, allocations: 11.94 kB / 1.071 GB, free: 8.711 MB / 0.8262 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.0002261/0.3533, allocations: 266.7 kB / 1.071 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.3533, allocations: 31.7 kB / 1.071 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.438e-05/0.3534, allocations: 34.94 kB / 1.071 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3534, allocations: 4 kB / 1.071 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.3534, allocations: 0 / 1.071 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.3534, allocations: 0 / 1.071 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.3538, allocations: 345.2 kB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3538, allocations: 7.984 kB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.354, allocations: 35.97 kB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.354, allocations: 4 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.354, allocations: 0 / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.354, allocations: 4 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.354, allocations: 0 / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.3551, allocations: 0.6561 MB / 1.072 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.3552, allocations: 116.7 kB / 1.072 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.3552, allocations: 8 kB / 1.072 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.3555, allocations: 31.97 kB / 1.072 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.3556, allocations: 35.95 kB / 1.072 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.3556, allocations: 4 kB / 1.072 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002818/0.3559, allocations: 275 kB / 1.073 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3559, allocations: 0 / 1.073 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004343/0.3563, allocations: 104 kB / 1.073 GB, free: 6.641 MB / 0.8262 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.0003318/0.3567, allocations: 159.2 kB / 1.073 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001189/0.3579, allocations: 0.8633 MB / 1.074 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3579, allocations: 0 / 1.074 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005306/0.3584, allocations: 394 kB / 1.074 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.3589, allocations: 76.91 kB / 1.074 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.3601, allocations: 0.7787 MB / 1.075 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.3605, allocations: 0.787 MB / 1.076 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.3605, allocations: 15.44 kB / 1.076 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of SimCode: time 3.9e-07/0.3605, allocations: 0 / 1.076 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of Templates: time 0.008244/0.3688, allocations: 4.922 MB / 1.08 GB, free: 14.52 MB / 0.8419 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches