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.0009633/0.0009633, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009509/0.0009509, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.9775/0.9775, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.059/2.059, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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 1.533e-06/1.533e-06, allocations: 0 / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.18e-05, allocations: 11.14 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001852/0.001874, allocations: 1.504 MB / 0.8797 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.002965, allocations: 0.8198 MB / 0.8805 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.283e-05/0.002998, allocations: 5.125 kB / 0.8805 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.205e-05/0.00307, allocations: 0 / 0.8805 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.392e-05/0.003124, allocations: 3.938 kB / 0.8805 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005632/0.003687, allocations: 177.6 kB / 0.8806 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.003787, allocations: 47.91 kB / 0.8807 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.29e-05/0.00387, allocations: 4.656 kB / 0.8807 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.07e-05/0.003921, allocations: 24.56 kB / 0.8807 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.003968, allocations: 15.92 kB / 0.8807 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.003983, allocations: 5.375 kB / 0.8807 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.00426, allocations: 215.6 kB / 0.8809 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.004305, allocations: 4 kB / 0.881 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.004338, allocations: 16.72 kB / 0.881 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.004591, allocations: 219.4 kB / 0.8812 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.004593, allocations: 0.5625 kB / 0.8812 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.42e-07/0.004594, allocations: 4 kB / 0.8812 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.004597, allocations: 1.094 kB / 0.8812 GB, free: 3.246 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.0004139/0.005011, allocations: 463.6 kB / 0.8816 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.00505, allocations: 12.03 kB / 0.8816 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.005091, allocations: 9.547 kB / 0.8816 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.461e-05/0.005186, allocations: 118.1 kB / 0.8818 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.005198, allocations: 384 / 0.8818 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.005212, allocations: 4.375 kB / 0.8818 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.005378, allocations: 116.2 kB / 0.8819 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.005386, allocations: 0.6562 kB / 0.8819 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.005395, allocations: 0 / 0.8819 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.005402, allocations: 1.062 kB / 0.8819 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.346e-05/0.005456, allocations: 69.61 kB / 0.8819 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.005773, allocations: 267.8 kB / 0.8822 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.353e-05/0.005857, allocations: 96.2 kB / 0.8823 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.005908, allocations: 69.45 kB / 0.8824 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.005924, allocations: 0 / 0.8824 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.005946, allocations: 37.38 kB / 0.8824 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.005947, allocations: 0 / 0.8824 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.000252/0.006199, allocations: 222.7 kB / 0.8826 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.006232, allocations: 81.11 kB / 0.8827 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.006478, allocations: 181.9 kB / 0.8829 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.006488, allocations: 25.7 kB / 0.8829 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.006534, allocations: 143.6 kB / 0.883 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/0.006546, allocations: 3.953 kB / 0.883 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.006579, allocations: 27.97 kB / 0.883 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.006683, allocations: 0.4935 MB / 0.8835 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.779e-05/0.006751, allocations: 95.38 kB / 0.8836 GB, free: 500 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.498e-05/0.006806, allocations: 99.38 kB / 0.8837 GB, free: 388 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.006917, allocations: 176.7 kB / 0.8839 GB, free: 188 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.006919, allocations: 5.375 kB / 0.8839 GB, free: 184 kB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001802/0.007099, allocations: 248.5 kB / 0.8841 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.007137, allocations: 59.41 kB / 0.8842 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.007142, allocations: 4.031 kB / 0.8842 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.007159, allocations: 3.984 kB / 0.8842 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.825e-05/0.007217, allocations: 4 kB / 0.8842 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.007222, allocations: 0 / 0.8842 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.007245, allocations: 11.94 kB / 0.8842 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.007256, allocations: 4 kB / 0.8842 GB, free: 15.81 MB / 0.8542 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 7.799e-05/0.007334, allocations: 190.2 kB / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.902e-05/0.007353, allocations: 7.953 kB / 0.8844 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.128e-05/0.007374, allocations: 8 kB / 0.8844 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.007376, allocations: 240 / 0.8844 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.00738, allocations: 8 kB / 0.8844 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.007383, allocations: 3.938 kB / 0.8844 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.543e-05/0.007478, allocations: 128.6 kB / 0.8845 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.00748, allocations: 3.938 kB / 0.8845 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.326e-05/0.007493, allocations: 4 kB / 0.8845 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.007495, allocations: 0 / 0.8845 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.007503, allocations: 0 / 0.8845 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007504, allocations: 0 / 0.8845 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.007505, allocations: 0 / 0.8845 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.007688, allocations: 315.3 kB / 0.8848 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.769e-06/0.007698, allocations: 11.89 kB / 0.8849 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.00771, allocations: 4.031 kB / 0.8849 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.155e-05/0.007741, allocations: 4 kB / 0.8849 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.007802, allocations: 7.984 kB / 0.8849 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.007806, allocations: 0 / 0.8849 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.363e-05/0.00785, allocations: 139.1 kB / 0.885 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.00785, allocations: 0 / 0.885 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002115/0.008061, allocations: 55.94 kB / 0.8851 GB, free: 14.85 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.0001919/0.008253, allocations: 167 kB / 0.8852 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.008471, allocations: 299.5 kB / 0.8855 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.008473, allocations: 0 / 0.8855 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.24e-05/0.008545, allocations: 128.8 kB / 0.8856 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.008696, allocations: 9.562 kB / 0.8856 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.008991, allocations: 199.8 kB / 0.8858 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.827e-05/0.00903, allocations: 59.34 kB / 0.8859 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.942e-05/0.009049, allocations: 3.938 kB / 0.8859 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.83e-05/0.009067, allocations: 8.5 kB / 0.8859 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.009068, allocations: 0 / 0.8859 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of Templates: time 0.003328/0.0124, allocations: 1.831 MB / 0.8877 GB, free: 12.07 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.51591962389648]