Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002189/0.002189, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002414/0.002414, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.633/1.633, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 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.087/3.087, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 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.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.667e-05/3.863e-05, allocations: 5.266 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003868/0.003907, allocations: 1.459 MB / 0.8123 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00208/0.005986, allocations: 0.7966 MB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.065e-05/0.006027, allocations: 3.938 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.278e-05/0.00612, allocations: 3.938 kB / 0.8131 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.268e-05/0.006182, allocations: 9.328 kB / 0.8131 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009432/0.007126, allocations: 177 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.007282, allocations: 47.91 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.178e-05/0.007374, allocations: 3.938 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.473e-05/0.007459, allocations: 26.31 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.555e-05/0.007534, allocations: 19.97 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.007557, allocations: 7.938 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005507/0.008108, allocations: 203.7 kB / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.185e-05/0.00817, allocations: 15.97 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.283e-05/0.008222, allocations: 15.94 kB / 0.8136 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.008761, allocations: 232.2 kB / 0.8138 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.008767, allocations: 0 / 0.8138 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.784e-06/0.008769, allocations: 0.5312 kB / 0.8138 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.008776, allocations: 0 / 0.8138 GB, free: 15.08 MB / 0.7761 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.000758/0.009534, allocations: 464.9 kB / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.009581, allocations: 8.031 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.009645, allocations: 8.922 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.009811, allocations: 116.5 kB / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.009825, allocations: 1.031 kB / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.009838, allocations: 4.375 kB / 0.8144 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.0101, allocations: 105.2 kB / 0.8145 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.01011, allocations: 4.188 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.01012, allocations: 384 / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.01013, allocations: 5.094 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.0103, allocations: 69.67 kB / 0.8145 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.0108, allocations: 283.7 kB / 0.8148 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.01101, allocations: 98.11 kB / 0.8149 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.01117, allocations: 73.44 kB / 0.815 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.0112, allocations: 4 kB / 0.815 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.01124, allocations: 39.05 kB / 0.815 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.01124, allocations: 0 / 0.815 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0006266/0.01187, allocations: 242.6 kB / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.462e-05/0.01196, allocations: 81.94 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.01223, allocations: 185.9 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.01227, allocations: 25.7 kB / 0.8155 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.01239, allocations: 143.6 kB / 0.8157 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.01243, allocations: 11.91 kB / 0.8157 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.316e-05/0.0125, allocations: 29.09 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002789/0.01278, allocations: 0.4923 MB / 0.8162 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.01294, allocations: 99.38 kB / 0.8163 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.01311, allocations: 107.4 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.01338, allocations: 185.6 kB / 0.8165 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01339, allocations: 0 / 0.8165 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003744/0.01376, allocations: 258.6 kB / 0.8168 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.852e-05/0.01385, allocations: 67.33 kB / 0.8169 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.01385, allocations: 0 / 0.8169 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.01387, allocations: 0 / 0.8169 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.798e-05/0.01393, allocations: 4 kB / 0.8169 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.01394, allocations: 0 / 0.8169 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.01398, allocations: 14.05 kB / 0.8169 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.014, allocations: 8.062 kB / 0.8169 GB, free: 11.57 MB / 0.7761 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.0001673/0.01417, allocations: 186.3 kB / 0.8171 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.0142, allocations: 7.938 kB / 0.8171 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.01423, allocations: 12.5 kB / 0.8171 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.01423, allocations: 0 / 0.8171 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.01424, allocations: 0.5312 kB / 0.8171 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01424, allocations: 1.906 kB / 0.8171 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.01443, allocations: 136.5 kB / 0.8172 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01443, allocations: 0 / 0.8172 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.01445, allocations: 0 / 0.8172 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.01446, allocations: 4 kB / 0.8172 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.01447, allocations: 5.094 kB / 0.8172 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01447, allocations: 0 / 0.8172 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01447, allocations: 0 / 0.8172 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.01491, allocations: 339.9 kB / 0.8175 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.01492, allocations: 4.453 kB / 0.8175 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.01494, allocations: 11.92 kB / 0.8176 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.199e-05/0.015, allocations: 3.5 kB / 0.8176 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.01508, allocations: 4 kB / 0.8176 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.01509, allocations: 4 kB / 0.8176 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001013/0.01519, allocations: 139.1 kB / 0.8177 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01519, allocations: 0 / 0.8177 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003508/0.01554, allocations: 59.92 kB / 0.8178 GB, free: 10.59 MB / 0.7761 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.0003462/0.01589, allocations: 161.8 kB / 0.8179 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008665/0.01676, allocations: 321.5 kB / 0.8182 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01676, allocations: 0 / 0.8182 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.01696, allocations: 136.8 kB / 0.8184 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.01718, allocations: 6.453 kB / 0.8184 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005044/0.01769, allocations: 212.8 kB / 0.8186 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.492e-05/0.01778, allocations: 71.33 kB / 0.8186 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.091e-05/0.0178, allocations: 1.094 kB / 0.8186 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.01783, allocations: 12.5 kB / 0.8186 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of SimCode: time 8.82e-07/0.01783, allocations: 1.062 kB / 0.8186 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of Templates: time 0.006281/0.02411, allocations: 1.796 MB / 0.8204 GB, free: 7.82 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.539281046018004]