Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.001475/0.001475, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001477/0.001477, allocations: 173 kB / 23.49 MB, free: 1.059 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.9584/0.9584, allocations: 177.1 MB / 203.8 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.114/2.114, allocations: 429.5 MB / 0.6736 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 0.8782 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.208e-05/4.484e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.004053/0.004098, allocations: 1.498 MB / 0.8797 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001928/0.006026, allocations: 0.8082 MB / 0.8805 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.494e-05/0.006091, allocations: 0 / 0.8805 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.006206, allocations: 4.594 kB / 0.8805 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.847e-05/0.006284, allocations: 4.812 kB / 0.8805 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.007329, allocations: 181.8 kB / 0.8806 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.007492, allocations: 47.91 kB / 0.8807 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.007619, allocations: 4 kB / 0.8807 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.441e-05/0.007693, allocations: 25.02 kB / 0.8807 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.28e-05/0.007776, allocations: 15.97 kB / 0.8807 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.007799, allocations: 4 kB / 0.8807 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/0.008231, allocations: 216.6 kB / 0.8809 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.862e-05/0.0083, allocations: 7.984 kB / 0.881 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.008354, allocations: 11.94 kB / 0.881 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.00878, allocations: 220.2 kB / 0.8812 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.008786, allocations: 0 / 0.8812 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.623e-06/0.008788, allocations: 4.625 kB / 0.8812 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.008794, allocations: 3.438 kB / 0.8812 GB, free: 3.582 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007446/0.009539, allocations: 459.6 kB / 0.8816 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/0.009598, allocations: 12.03 kB / 0.8816 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.664e-05/0.009675, allocations: 8.891 kB / 0.8816 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.009828, allocations: 120.5 kB / 0.8818 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.009846, allocations: 384 / 0.8818 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.009865, allocations: 4.375 kB / 0.8818 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.01016, allocations: 124.1 kB / 0.8819 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.01017, allocations: 0 / 0.8819 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.01018, allocations: 0.5 kB / 0.8819 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.0102, allocations: 0 / 0.8819 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.0103, allocations: 62.27 kB / 0.8819 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005357/0.01083, allocations: 273.3 kB / 0.8822 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.01097, allocations: 96.61 kB / 0.8823 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.332e-05/0.01106, allocations: 69.45 kB / 0.8824 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.01109, allocations: 3.984 kB / 0.8824 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.01112, allocations: 37.39 kB / 0.8824 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 2.324e-06/0.01112, allocations: 0 / 0.8824 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0004346/0.01156, allocations: 218.7 kB / 0.8826 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.01162, allocations: 77.11 kB / 0.8827 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.01178, allocations: 185.8 kB / 0.8829 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.01179, allocations: 25.7 kB / 0.8829 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.521e-05/0.01187, allocations: 138.9 kB / 0.883 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.01189, allocations: 11.89 kB / 0.883 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.01194, allocations: 27.38 kB / 0.8831 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.01211, allocations: 0.4884 MB / 0.8835 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.01223, allocations: 103.3 kB / 0.8836 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.01233, allocations: 99.38 kB / 0.8837 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.01251, allocations: 172.8 kB / 0.8839 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.01252, allocations: 4 kB / 0.8839 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002913/0.01281, allocations: 252.4 kB / 0.8841 GB, free: 232 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.689e-05/0.01288, allocations: 59.41 kB / 0.8842 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.01289, allocations: 3.984 kB / 0.8842 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.01291, allocations: 0 / 0.8842 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.01301, allocations: 7.938 kB / 0.8842 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.01302, allocations: 0 / 0.8842 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.041e-05/0.01306, allocations: 7.938 kB / 0.8842 GB, free: 140 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.01308, allocations: 8 kB / 0.8842 GB, free: 132 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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.0001603/0.01324, allocations: 194.2 kB / 0.8844 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.01327, allocations: 7.953 kB / 0.8844 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.01331, allocations: 4 kB / 0.8844 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01331, allocations: 0 / 0.8844 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.01331, allocations: 4 kB / 0.8844 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01332, allocations: 0 / 0.8844 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.01349, allocations: 128.6 kB / 0.8845 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.01349, allocations: 3.938 kB / 0.8845 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.817e-05/0.01354, allocations: 4 kB / 0.8845 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.01355, allocations: 4 kB / 0.8846 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.01356, allocations: 0 / 0.8846 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.01356, allocations: 0 / 0.8846 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.01356, allocations: 0 / 0.8846 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.01388, allocations: 315.5 kB / 0.8849 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.606e-05/0.0139, allocations: 11.89 kB / 0.8849 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.01392, allocations: 7.984 kB / 0.8849 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.014, allocations: 4 kB / 0.8849 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.01411, allocations: 7.984 kB / 0.8849 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.01412, allocations: 0 / 0.8849 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.846e-05/0.01419, allocations: 139.2 kB / 0.885 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01419, allocations: 0 / 0.885 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000395/0.01459, allocations: 55.88 kB / 0.8851 GB, free: 15.17 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0003766/0.01496, allocations: 166.6 kB / 0.8852 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003714/0.01533, allocations: 295.5 kB / 0.8855 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.01534, allocations: 0 / 0.8855 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.01547, allocations: 132.7 kB / 0.8856 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.01576, allocations: 11.94 kB / 0.8856 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005194/0.01628, allocations: 203.9 kB / 0.8858 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.627e-05/0.01633, allocations: 59.34 kB / 0.8859 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.737e-05/0.01636, allocations: 0 / 0.8859 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.01639, allocations: 8.5 kB / 0.8859 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of SimCode: time 9.91e-07/0.01639, allocations: 0 / 0.8859 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of Templates: time 0.005916/0.02231, allocations: 1.812 MB / 0.8877 GB, free: 12.41 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.502915658056736]