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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 166.2 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.581/1.581, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.002/3.002, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.884e-06/1.884e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.08e-05/4.268e-05, allocations: 9.453 kB / 0.9815 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00398/0.004022, allocations: 2.045 MB / 0.9835 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002199/0.006221, allocations: 1.153 MB / 0.9846 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.006332, allocations: 0 / 0.9846 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004963/0.006828, allocations: 103.3 kB / 0.9847 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.006958, allocations: 55.52 kB / 0.9847 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008906/0.007849, allocations: 263.4 kB / 0.985 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004596/0.008308, allocations: 311.2 kB / 0.9853 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.008487, allocations: 59.52 kB / 0.9853 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.008697, allocations: 155.7 kB / 0.9855 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.008873, allocations: 103.7 kB / 0.9856 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.575e-05/0.008928, allocations: 28 kB / 0.9856 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000439/0.009367, allocations: 239.6 kB / 0.9858 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.009504, allocations: 95.62 kB / 0.9859 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.009644, allocations: 95.75 kB / 0.986 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008249/0.01047, allocations: 0.6154 MB / 0.9866 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.01047, allocations: 0 / 0.9866 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.362e-06/0.01048, allocations: 0 / 0.9866 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.01048, allocations: 4 kB / 0.9866 GB, free: 6.625 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.001385/0.01187, allocations: 0.7331 MB / 0.9873 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.01191, allocations: 8.031 kB / 0.9873 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.01202, allocations: 40.64 kB / 0.9874 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.01249, allocations: 266 kB / 0.9876 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.01251, allocations: 16.66 kB / 0.9877 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.01255, allocations: 24.36 kB / 0.9877 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007351/0.01328, allocations: 381.9 kB / 0.988 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.0133, allocations: 192 / 0.988 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.01333, allocations: 8.375 kB / 0.9881 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.01334, allocations: 7.938 kB / 0.9881 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007766/0.01412, allocations: 361.4 kB / 0.9884 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009631/0.01508, allocations: 0.528 MB / 0.9889 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006666/0.01575, allocations: 311.7 kB / 0.9892 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005078/0.01625, allocations: 277.8 kB / 0.9895 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.01627, allocations: 0 / 0.9895 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.01631, allocations: 46.5 kB / 0.9895 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.01631, allocations: 0 / 0.9895 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.001656/0.01797, allocations: 0.8422 MB / 0.9903 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.01808, allocations: 140.5 kB / 0.9905 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/0.01851, allocations: 352.5 kB / 0.9908 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.01854, allocations: 29.7 kB / 0.9908 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.01868, allocations: 164.6 kB / 0.991 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/0.01873, allocations: 47.58 kB / 0.991 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.522e-05/0.01883, allocations: 49.7 kB / 0.9911 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.019, allocations: 338.8 kB / 0.9914 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006191/0.01962, allocations: 426.2 kB / 0.9918 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006225/0.02025, allocations: 422 kB / 0.9922 GB, free: 476 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.02137, allocations: 0.6939 MB / 0.9929 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.02137, allocations: 0 / 0.9929 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001396/0.02277, allocations: 0.9232 MB / 0.9938 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001549/0.02292, allocations: 186.2 kB / 0.994 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.02293, allocations: 0 / 0.994 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.02295, allocations: 0 / 0.994 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.02313, allocations: 27.97 kB / 0.994 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.02314, allocations: 0 / 0.994 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.02338, allocations: 43.8 kB / 0.9941 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.02341, allocations: 11.94 kB / 0.9941 GB, free: 14.41 MB / 0.9512 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.0002857/0.02369, allocations: 266.8 kB / 0.9943 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.912e-05/0.02376, allocations: 31.75 kB / 0.9943 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.335e-05/0.02383, allocations: 29.95 kB / 0.9944 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.02383, allocations: 0 / 0.9944 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.02384, allocations: 0 / 0.9944 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.02384, allocations: 0 / 0.9944 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.02416, allocations: 233.2 kB / 0.9946 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.02417, allocations: 0 / 0.9946 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.02433, allocations: 27.97 kB / 0.9946 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.02434, allocations: 8 kB / 0.9946 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.02436, allocations: 11.94 kB / 0.9946 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.02436, allocations: 0 / 0.9946 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02436, allocations: 0 / 0.9946 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.02554, allocations: 0.7043 MB / 0.9953 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.0256, allocations: 35.73 kB / 0.9954 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/0.02565, allocations: 15.94 kB / 0.9954 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.02588, allocations: 23.97 kB / 0.9954 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.02603, allocations: 27.97 kB / 0.9954 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.02605, allocations: 8 kB / 0.9954 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002895/0.02634, allocations: 251 kB / 0.9957 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.02634, allocations: 0 / 0.9957 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004795/0.02682, allocations: 111.8 kB / 0.9958 GB, free: 12.53 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.0003744/0.02719, allocations: 173.5 kB / 0.996 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001515/0.02871, allocations: 1.085 MB / 0.997 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.02871, allocations: 0 / 0.997 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006353/0.02934, allocations: 459.2 kB / 0.9974 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.02982, allocations: 64.56 kB / 0.9975 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.03115, allocations: 0.7267 MB / 0.9982 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.03136, allocations: 173.8 kB / 0.9984 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.998e-05/0.03144, allocations: 25.58 kB / 0.9984 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.86e-05/0.03151, allocations: 20.5 kB / 0.9984 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of SimCode: time 4.91e-07/0.03151, allocations: 0 / 0.9984 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of Templates: time 0.01245/0.04396, allocations: 6.253 MB / 1.005 GB, free: 3.43 MB / 0.9512 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: 8.792864687740803]