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.0009273/0.0009273, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0008642/0.0008642, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.9064/0.9064, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.728/1.728, allocations: 377.9 MB / 0.6229 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] 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.633e-06/1.633e-06, allocations: 0 / 0.9822 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.081e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003217/0.003237, allocations: 2.037 MB / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.00499, allocations: 1.145 MB / 0.9853 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.00511, allocations: 4 kB / 0.9853 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.005541, allocations: 115.3 kB / 0.9855 GB, free: 14.73 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.005647, allocations: 43.59 kB / 0.9855 GB, free: 14.68 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006925/0.00634, allocations: 263.4 kB / 0.9857 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003483/0.006688, allocations: 315.1 kB / 0.986 GB, free: 14.12 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.006841, allocations: 63.45 kB / 0.9861 GB, free: 14.05 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.00701, allocations: 151.7 kB / 0.9863 GB, free: 13.91 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.007161, allocations: 107.7 kB / 0.9864 GB, free: 13.8 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.579e-05/0.007207, allocations: 28 kB / 0.9864 GB, free: 13.77 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003844/0.007592, allocations: 235.6 kB / 0.9866 GB, free: 13.54 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.329e-05/0.007675, allocations: 91.73 kB / 0.9867 GB, free: 13.45 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.972e-05/0.007755, allocations: 99.75 kB / 0.9868 GB, free: 13.36 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.008212, allocations: 0.6076 MB / 0.9874 GB, free: 12.75 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.008214, allocations: 8 kB / 0.9874 GB, free: 12.74 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.008216, allocations: 0 / 0.9874 GB, free: 12.74 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.00822, allocations: 0 / 0.9874 GB, free: 12.74 MB / 0.948 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.0007533/0.008974, allocations: 0.7408 MB / 0.9881 GB, free: 11.93 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.009006, allocations: 8.031 kB / 0.9881 GB, free: 11.92 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.009058, allocations: 36.7 kB / 0.9882 GB, free: 11.88 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.00934, allocations: 270 kB / 0.9884 GB, free: 11.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.009355, allocations: 16.66 kB / 0.9884 GB, free: 11.58 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.009378, allocations: 20.31 kB / 0.9884 GB, free: 11.56 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/0.009771, allocations: 388.3 kB / 0.9888 GB, free: 11.16 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.009779, allocations: 192 / 0.9888 GB, free: 11.16 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.009795, allocations: 4.375 kB / 0.9888 GB, free: 11.15 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.009802, allocations: 11.88 kB / 0.9888 GB, free: 11.14 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.01018, allocations: 361.5 kB / 0.9892 GB, free: 10.77 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.01078, allocations: 0.5279 MB / 0.9897 GB, free: 10.21 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003557/0.01113, allocations: 311.7 kB / 0.99 GB, free: 9.879 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.01139, allocations: 277.8 kB / 0.9903 GB, free: 9.586 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.0114, allocations: 4 kB / 0.9903 GB, free: 9.582 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.01143, allocations: 38.44 kB / 0.9903 GB, free: 9.535 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.01143, allocations: 0 / 0.9903 GB, free: 9.535 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.0008571/0.01228, allocations: 0.8442 MB / 0.9911 GB, free: 8.629 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.01235, allocations: 132.5 kB / 0.9912 GB, free: 8.469 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.01261, allocations: 352.5 kB / 0.9916 GB, free: 8.117 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.01263, allocations: 29.7 kB / 0.9916 GB, free: 8.082 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.01272, allocations: 172.5 kB / 0.9918 GB, free: 7.91 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.01275, allocations: 43.64 kB / 0.9918 GB, free: 7.867 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/0.01282, allocations: 49.7 kB / 0.9919 GB, free: 7.812 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.01291, allocations: 338.8 kB / 0.9922 GB, free: 7.473 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/0.01323, allocations: 418 kB / 0.9926 GB, free: 7.027 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.01355, allocations: 428.4 kB / 0.993 GB, free: 6.574 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005595/0.01411, allocations: 0.6954 MB / 0.9937 GB, free: 5.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.01411, allocations: 0 / 0.9937 GB, free: 5.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007459/0.01486, allocations: 0.9253 MB / 0.9946 GB, free: 4.82 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.052e-05/0.01495, allocations: 190.1 kB / 0.9948 GB, free: 4.598 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.01495, allocations: 0 / 0.9948 GB, free: 4.598 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.01497, allocations: 0 / 0.9948 GB, free: 4.598 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.848e-05/0.01505, allocations: 27.97 kB / 0.9948 GB, free: 4.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.01506, allocations: 3.938 kB / 0.9948 GB, free: 4.566 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.809e-05/0.01516, allocations: 35.86 kB / 0.9948 GB, free: 4.531 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.01518, allocations: 16 kB / 0.9948 GB, free: 4.516 MB / 0.948 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.0001686/0.01535, allocations: 258.9 kB / 0.9951 GB, free: 4.234 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.01538, allocations: 35.75 kB / 0.9951 GB, free: 4.199 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.01541, allocations: 25.95 kB / 0.9951 GB, free: 4.172 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01542, allocations: 0 / 0.9951 GB, free: 4.172 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.01542, allocations: 0 / 0.9951 GB, free: 4.172 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01542, allocations: 3.938 kB / 0.9951 GB, free: 4.168 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.01562, allocations: 241.1 kB / 0.9954 GB, free: 3.902 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01562, allocations: 0 / 0.9954 GB, free: 3.902 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-05/0.0157, allocations: 31.97 kB / 0.9954 GB, free: 3.871 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.0157, allocations: 0 / 0.9954 GB, free: 3.871 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.01571, allocations: 7.938 kB / 0.9954 GB, free: 3.863 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01572, allocations: 0 / 0.9954 GB, free: 3.863 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01572, allocations: 0 / 0.9954 GB, free: 3.863 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006008/0.01632, allocations: 0.7083 MB / 0.9961 GB, free: 3.102 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.01635, allocations: 31.81 kB / 0.9961 GB, free: 3.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.01638, allocations: 15.92 kB / 0.9962 GB, free: 3.055 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.01649, allocations: 27.97 kB / 0.9962 GB, free: 3.027 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.959e-05/0.01658, allocations: 23.97 kB / 0.9962 GB, free: 3.004 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.01658, allocations: 4 kB / 0.9962 GB, free: 3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001839/0.01677, allocations: 259 kB / 0.9965 GB, free: 2.746 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.01677, allocations: 3.938 kB / 0.9965 GB, free: 2.742 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002673/0.01704, allocations: 107.8 kB / 0.9966 GB, free: 2.637 MB / 0.948 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.0002229/0.01726, allocations: 171.1 kB / 0.9967 GB, free: 2.461 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008005/0.01806, allocations: 1.085 MB / 0.9978 GB, free: 1.246 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01806, allocations: 0 / 0.9978 GB, free: 1.246 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.01839, allocations: 459.1 kB / 0.9982 GB, free: 0.7422 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.01868, allocations: 68.98 kB / 0.9983 GB, free: 0.6758 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007803/0.01946, allocations: 0.7674 MB / 0.999 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.01958, allocations: 173.8 kB / 0.9992 GB, free: 15.66 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.01963, allocations: 20.5 kB / 0.9992 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of SimCode: time 9.82e-07/0.01963, allocations: 4 kB / 0.9992 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of Templates: time 0.004944/0.02457, allocations: 5.004 MB / 1.004 GB, free: 10.68 MB / 0.9636 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: 7.5810523787513375]