Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002565/0.002565, allocations: 186.3 kB / 22.22 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.157/3.157, allocations: 496 MB / 0.7835 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 75.09 kB / 1.138 GB, free: 33.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4128, allocations: 173.6 MB / 1.307 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.004045/0.4168, allocations: 2.137 MB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002294/0.4191, allocations: 1.192 MB / 1.311 GB, free: 14.41 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.4193, allocations: 0 / 1.311 GB, free: 14.41 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005219/0.4199, allocations: 119.3 kB / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.4201, allocations: 51.58 kB / 1.311 GB, free: 14.25 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.4211, allocations: 270.8 kB / 1.311 GB, free: 13.98 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004533/0.4216, allocations: 295.3 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.4218, allocations: 71.2 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.4219, allocations: 111.6 kB / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.4221, allocations: 131.4 kB / 1.312 GB, free: 13.39 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.852e-05/0.4222, allocations: 28 kB / 1.312 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004746/0.4226, allocations: 259.7 kB / 1.312 GB, free: 13.11 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.4228, allocations: 87.69 kB / 1.312 GB, free: 13.02 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.4229, allocations: 155.2 kB / 1.312 GB, free: 12.87 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008049/0.4237, allocations: 0.5605 MB / 1.313 GB, free: 12.3 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4237, allocations: 0 / 1.313 GB, free: 12.3 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4238, allocations: 0 / 1.313 GB, free: 12.3 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.4238, allocations: 0 / 1.313 GB, free: 12.3 MB / 1.014 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.001401/0.4252, allocations: 0.7408 MB / 1.313 GB, free: 11.49 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.4252, allocations: 12.92 kB / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.75e-05/0.4253, allocations: 40.7 kB / 1.313 GB, free: 11.44 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.4257, allocations: 262.8 kB / 1.314 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.4257, allocations: 16.66 kB / 1.314 GB, free: 11.14 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.4258, allocations: 16.38 kB / 1.314 GB, free: 11.13 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006702/0.4265, allocations: 299.2 kB / 1.314 GB, free: 10.83 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4265, allocations: 0 / 1.314 GB, free: 10.83 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.4265, allocations: 8 kB / 1.314 GB, free: 10.82 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.4265, allocations: 4 kB / 1.314 GB, free: 10.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007157/0.4272, allocations: 268.4 kB / 1.314 GB, free: 10.56 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.4283, allocations: 0.6404 MB / 1.315 GB, free: 9.875 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000615/0.4289, allocations: 222.6 kB / 1.315 GB, free: 9.648 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000434/0.4294, allocations: 184.7 kB / 1.315 GB, free: 9.465 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.4294, allocations: 0 / 1.315 GB, free: 9.465 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.4294, allocations: 42.61 kB / 1.315 GB, free: 9.414 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.4294, allocations: 3.938 kB / 1.315 GB, free: 9.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.001488/0.4309, allocations: 0.6624 MB / 1.316 GB, free: 8.723 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.339e-05/0.431, allocations: 140.5 kB / 1.316 GB, free: 8.555 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004353/0.4314, allocations: 380.5 kB / 1.316 GB, free: 8.176 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.4315, allocations: 29.7 kB / 1.316 GB, free: 8.141 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.4316, allocations: 168.4 kB / 1.317 GB, free: 7.973 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/0.4316, allocations: 43.66 kB / 1.317 GB, free: 7.93 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-05/0.4317, allocations: 49.69 kB / 1.317 GB, free: 7.875 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4319, allocations: 342.8 kB / 1.317 GB, free: 7.531 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.4324, allocations: 231.9 kB / 1.317 GB, free: 7.305 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004999/0.4329, allocations: 247.8 kB / 1.317 GB, free: 7.062 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.4339, allocations: 0.6861 MB / 1.318 GB, free: 6.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4339, allocations: 0 / 1.318 GB, free: 6.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001187/0.4351, allocations: 0.7337 MB / 1.319 GB, free: 5.543 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.4352, allocations: 174.2 kB / 1.319 GB, free: 5.336 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.4352, allocations: 4 kB / 1.319 GB, free: 5.332 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.4352, allocations: 0 / 1.319 GB, free: 5.332 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.4354, allocations: 31.97 kB / 1.319 GB, free: 5.301 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4354, allocations: 0 / 1.319 GB, free: 5.301 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.4356, allocations: 55.73 kB / 1.319 GB, free: 5.246 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.4357, allocations: 8 kB / 1.319 GB, free: 5.238 MB / 1.014 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.0002458/0.4359, allocations: 266.7 kB / 1.319 GB, free: 4.949 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.436, allocations: 31.81 kB / 1.319 GB, free: 4.918 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.414e-05/0.4361, allocations: 30.88 kB / 1.319 GB, free: 4.875 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.4361, allocations: 4 kB / 1.319 GB, free: 4.871 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4361, allocations: 0 / 1.319 GB, free: 4.871 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4361, allocations: 4 kB / 1.319 GB, free: 4.867 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.4365, allocations: 316.3 kB / 1.32 GB, free: 4.516 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.4365, allocations: 7.984 kB / 1.32 GB, free: 4.508 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.4366, allocations: 23.97 kB / 1.32 GB, free: 4.484 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.4366, allocations: 4 kB / 1.32 GB, free: 4.48 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.4367, allocations: 4 kB / 1.32 GB, free: 4.477 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4367, allocations: 0 / 1.32 GB, free: 4.477 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4367, allocations: 0 / 1.32 GB, free: 4.477 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.4377, allocations: 0.6212 MB / 1.32 GB, free: 3.82 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.235e-05/0.4378, allocations: 39.73 kB / 1.32 GB, free: 3.781 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/0.4378, allocations: 8 kB / 1.32 GB, free: 3.773 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.4381, allocations: 27.97 kB / 1.32 GB, free: 3.746 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.4382, allocations: 27.91 kB / 1.32 GB, free: 3.719 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.4382, allocations: 8 kB / 1.321 GB, free: 3.711 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003104/0.4385, allocations: 275 kB / 1.321 GB, free: 3.445 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4385, allocations: 0 / 1.321 GB, free: 3.445 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004392/0.439, allocations: 103.8 kB / 1.321 GB, free: 3.344 MB / 1.014 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.0003287/0.4393, allocations: 155.9 kB / 1.321 GB, free: 3.184 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.4406, allocations: 0.8238 MB / 1.322 GB, free: 2.289 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4406, allocations: 0 / 1.322 GB, free: 2.289 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005579/0.4412, allocations: 366 kB / 1.322 GB, free: 1.895 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.4416, allocations: 77.31 kB / 1.322 GB, free: 1.816 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.4427, allocations: 0.663 MB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.4431, allocations: 0.7792 MB / 1.324 GB, free: 336 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.763e-05/0.4432, allocations: 25.95 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.4433, allocations: 23.44 kB / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/0.4433, allocations: 0 / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of Templates: time 0.01378/0.457, allocations: 6.06 MB / 1.33 GB, free: 10.3 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.050477022305131]