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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001069/0.001069, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0014/0.0014, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.337/2.337, allocations: 390.9 MB / 0.666 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003646, allocations: 8 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6817/0.6821, allocations: 142.4 MB / 0.9544 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.001861/0.684, allocations: 1.735 MB / 0.9561 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.6854, allocations: 1.086 MB / 0.9572 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.013e-05/0.6855, allocations: 2.938 kB / 0.9572 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.6857, allocations: 95.8 kB / 0.9573 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.806e-05/0.6858, allocations: 34.75 kB / 0.9573 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.6863, allocations: 188.3 kB / 0.9575 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.6866, allocations: 244.8 kB / 0.9577 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.6867, allocations: 77.69 kB / 0.9578 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.565e-05/0.6868, allocations: 84.09 kB / 0.9579 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.6869, allocations: 101 kB / 0.958 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.687, allocations: 12.34 kB / 0.958 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000254/0.6872, allocations: 196.6 kB / 0.9582 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.811e-05/0.6873, allocations: 67.25 kB / 0.9583 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.177e-05/0.6874, allocations: 74.45 kB / 0.9583 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.6877, allocations: 415.4 kB / 0.9587 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.6877, allocations: 0 / 0.9587 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6877, allocations: 0 / 0.9587 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.6877, allocations: 1.25 kB / 0.9587 GB, free: 4.512 MB / 0.7169 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.0008253/0.6885, allocations: 0.7797 MB / 0.9595 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.6886, allocations: 9.906 kB / 0.9595 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.6886, allocations: 39.12 kB / 0.9595 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.6889, allocations: 305.9 kB / 0.9598 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.689, allocations: 15.97 kB / 0.9598 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.689, allocations: 21.09 kB / 0.9599 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/0.6895, allocations: 310.6 kB / 0.9602 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.6895, allocations: 3.984 kB / 0.9602 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.6896, allocations: 6.75 kB / 0.9602 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.6896, allocations: 8.078 kB / 0.9602 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005771/0.6902, allocations: 301.7 kB / 0.9605 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007828/0.691, allocations: 0.6777 MB / 0.9611 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.6915, allocations: 250 kB / 0.9614 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003527/0.6918, allocations: 207.6 kB / 0.9616 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.6918, allocations: 1.094 kB / 0.9616 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.6919, allocations: 36.66 kB / 0.9616 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.6919, allocations: 0 / 0.9616 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.001267/0.6931, allocations: 0.7156 MB / 0.9623 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.6932, allocations: 132.7 kB / 0.9624 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.6936, allocations: 381.7 kB / 0.9628 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.6936, allocations: 32.02 kB / 0.9628 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.627e-05/0.6937, allocations: 168.3 kB / 0.963 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.6937, allocations: 42.69 kB / 0.963 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.6937, allocations: 2.219 kB / 0.963 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.6938, allocations: 338.7 kB / 0.9633 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004066/0.6942, allocations: 258 kB / 0.9636 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/0.6946, allocations: 252.8 kB / 0.9638 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004449/0.6951, allocations: 427 kB / 0.9642 GB, free: 480 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6951, allocations: 4.047 kB / 0.9642 GB, free: 476 kB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009881/0.6961, allocations: 0.7681 MB / 0.965 GB, free: 0 / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.6962, allocations: 185.9 kB / 0.9652 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6962, allocations: 0 / 0.9652 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.6962, allocations: 5.297 kB / 0.9652 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.6964, allocations: 38.91 kB / 0.9652 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.6964, allocations: 0 / 0.9652 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.6967, allocations: 58.34 kB / 0.9653 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.6967, allocations: 11.81 kB / 0.9653 GB, free: 15.75 MB / 0.7325 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.0003266/0.697, allocations: 259 kB / 0.9655 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.6971, allocations: 34.56 kB / 0.9656 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.016e-05/0.6972, allocations: 28.34 kB / 0.9656 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.6972, allocations: 5.547 kB / 0.9656 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.6972, allocations: 0 / 0.9656 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.6972, allocations: 0.7188 kB / 0.9656 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.6976, allocations: 339.9 kB / 0.9659 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.6976, allocations: 4 kB / 0.9659 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.6977, allocations: 35.03 kB / 0.9659 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.6977, allocations: 0.9375 kB / 0.966 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.6978, allocations: 7.969 kB / 0.966 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.6978, allocations: 0.8125 kB / 0.966 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6978, allocations: 3.953 kB / 0.966 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.6989, allocations: 0.6521 MB / 0.9666 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.699, allocations: 110 kB / 0.9667 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.984e-05/0.6991, allocations: 7.625 kB / 0.9667 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.6993, allocations: 43.23 kB / 0.9668 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.6994, allocations: 24.94 kB / 0.9668 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.6995, allocations: 16.98 kB / 0.9668 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003181/0.6998, allocations: 272.2 kB / 0.9671 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6998, allocations: 0 / 0.9671 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005106/0.7003, allocations: 100.8 kB / 0.9671 GB, free: 14.35 MB / 0.7325 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.0003531/0.7007, allocations: 165 kB / 0.9673 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.702, allocations: 0.8606 MB / 0.9681 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.702, allocations: 0 / 0.9681 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005397/0.7026, allocations: 393.1 kB / 0.9685 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.703, allocations: 69.58 kB / 0.9686 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.7041, allocations: 0.7124 MB / 0.9693 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.7045, allocations: 0.7873 MB / 0.9701 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.7046, allocations: 19.64 kB / 0.9701 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.7047, allocations: 20.2 kB / 0.9701 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/0.7047, allocations: 1.094 kB / 0.9701 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.01098/0.7157, allocations: 5.277 MB / 0.9752 GB, free: 9.465 MB / 0.7325 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