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.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.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.001509/0.001509, allocations: 104.1 kB / 16.41 MB, free: 6.504 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.001578/0.001578, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 71.89 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8281/0.8296, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003649/0.8333, allocations: 2.105 MB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002125/0.8355, allocations: 1.168 MB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.8357, allocations: 11.94 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004752/0.8362, allocations: 107.3 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.8364, allocations: 47.58 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008574/0.8373, allocations: 255.5 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004435/0.8377, allocations: 323.2 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.838, allocations: 102.8 kB / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.8381, allocations: 107.6 kB / 1.213 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.8383, allocations: 123.5 kB / 1.213 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.692e-05/0.8384, allocations: 28 kB / 1.213 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000411/0.8388, allocations: 231.7 kB / 1.213 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.8389, allocations: 91.73 kB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.8391, allocations: 151.1 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007629/0.8399, allocations: 0.5548 MB / 1.214 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.8399, allocations: 0 / 1.214 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8399, allocations: 0 / 1.214 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.847e-05/0.8399, allocations: 0 / 1.214 GB, free: 8.242 MB / 0.9356 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.001384/0.8413, allocations: 0.8127 MB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.8414, allocations: 12.03 kB / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.854e-05/0.8415, allocations: 36.47 kB / 1.215 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.8419, allocations: 324.3 kB / 1.215 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.8419, allocations: 16.66 kB / 1.215 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.842, allocations: 16.38 kB / 1.215 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006543/0.8426, allocations: 299.2 kB / 1.215 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.8426, allocations: 0 / 1.215 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.8427, allocations: 8 kB / 1.215 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.8427, allocations: 0 / 1.215 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006512/0.8433, allocations: 272.4 kB / 1.215 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009789/0.8443, allocations: 0.6646 MB / 1.216 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005599/0.8449, allocations: 226.6 kB / 1.216 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004005/0.8453, allocations: 192.7 kB / 1.216 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.8453, allocations: 0 / 1.216 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.8454, allocations: 38.56 kB / 1.217 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 2.425e-06/0.8454, allocations: 0 / 1.217 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.001383/0.8468, allocations: 0.6661 MB / 1.217 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.785e-05/0.8469, allocations: 140.5 kB / 1.217 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004011/0.8473, allocations: 372.5 kB / 1.218 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.8473, allocations: 37.64 kB / 1.218 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.8474, allocations: 164.3 kB / 1.218 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/0.8475, allocations: 55.23 kB / 1.218 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.372e-05/0.8476, allocations: 45.7 kB / 1.218 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.8477, allocations: 342.8 kB / 1.218 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000449/0.8482, allocations: 240 kB / 1.218 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/0.8486, allocations: 243 kB / 1.219 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009126/0.8495, allocations: 0.6816 MB / 1.219 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.8496, allocations: 0 / 1.219 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00109/0.8507, allocations: 0.736 MB / 1.22 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.8508, allocations: 174.2 kB / 1.22 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.8508, allocations: 4 kB / 1.22 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.8508, allocations: 7.984 kB / 1.22 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.851, allocations: 31.91 kB / 1.22 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.851, allocations: 0 / 1.22 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.8512, allocations: 39.81 kB / 1.22 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.8513, allocations: 8 kB / 1.22 GB, free: 0.9805 MB / 0.9356 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.0002228/0.8515, allocations: 258.8 kB / 1.221 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/0.8516, allocations: 35.62 kB / 1.221 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.523e-05/0.8516, allocations: 30.94 kB / 1.221 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.8517, allocations: 7.984 kB / 1.221 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8517, allocations: 0 / 1.221 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.8517, allocations: 0 / 1.221 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/0.852, allocations: 353.2 kB / 1.221 GB, free: 232 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.852, allocations: 0 / 1.221 GB, free: 232 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.8522, allocations: 35.91 kB / 1.221 GB, free: 196 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.8522, allocations: 4 kB / 1.221 GB, free: 192 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.8522, allocations: 4 kB / 1.221 GB, free: 188 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.8522, allocations: 4 kB / 1.221 GB, free: 184 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8523, allocations: 0 / 1.221 GB, free: 184 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009777/0.8532, allocations: 0.6172 MB / 1.222 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.264e-05/0.8533, allocations: 108.8 kB / 1.222 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.8534, allocations: 11.94 kB / 1.222 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.8536, allocations: 23.97 kB / 1.222 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.8538, allocations: 23.97 kB / 1.222 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.8538, allocations: 8 kB / 1.222 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002831/0.8541, allocations: 275 kB / 1.222 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8541, allocations: 0 / 1.222 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004472/0.8545, allocations: 107.8 kB / 1.222 GB, free: 14.96 MB / 0.9512 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.0003222/0.8549, allocations: 167.1 kB / 1.222 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.856, allocations: 0.8243 MB / 1.223 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.8561, allocations: 4 kB / 1.223 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005147/0.8566, allocations: 386 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.8571, allocations: 71.36 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.8581, allocations: 0.6881 MB / 1.224 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.8585, allocations: 0.7792 MB / 1.225 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.8586, allocations: 23.44 kB / 1.225 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of SimCode: time 4.61e-07/0.8586, allocations: 3.938 kB / 1.225 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of Templates: time 0.008419/0.867, allocations: 4.964 MB / 1.23 GB, free: 6.938 MB / 0.9512 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