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.001105/0.001105, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008577/0.0008577, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9417/0.9417, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.713/1.713, allocations: 377.8 MB / 0.6221 GB, free: 8.652 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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.222e-05, allocations: 2.281 kB / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002049/0.002071, allocations: 1.467 MB / 0.9824 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.003309, allocations: 0.7829 MB / 0.9832 GB, free: 296 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.003358, allocations: 4 kB / 0.9832 GB, free: 292 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.003466, allocations: 3.938 kB / 0.9832 GB, free: 288 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.638e-05/0.003532, allocations: 0 / 0.9832 GB, free: 288 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007303/0.004262, allocations: 182.1 kB / 0.9834 GB, free: 108 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.004412, allocations: 43.91 kB / 0.9834 GB, free: 64 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.004521, allocations: 4 kB / 0.9834 GB, free: 60 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.406e-05/0.004586, allocations: 23.92 kB / 0.9834 GB, free: 36 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.098e-05/0.004657, allocations: 23.91 kB / 0.9835 GB, free: 12 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.004677, allocations: 4 kB / 0.9835 GB, free: 8 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003129/0.00499, allocations: 203.8 kB / 0.9837 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.061e-05/0.005061, allocations: 15.84 kB / 0.9837 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.005102, allocations: 11.98 kB / 0.9837 GB, free: 15.78 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.005397, allocations: 235.3 kB / 0.9839 GB, free: 15.55 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.005401, allocations: 12 kB / 0.9839 GB, free: 15.54 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.994e-06/0.005403, allocations: 0 / 0.9839 GB, free: 15.54 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.005407, allocations: 0 / 0.9839 GB, free: 15.54 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005407/0.005948, allocations: 361.4 kB / 0.9843 GB, free: 15.14 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/0.006008, allocations: 8.031 kB / 0.9843 GB, free: 15.14 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.006042, allocations: 30.75 kB / 0.9843 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.006076, allocations: 4.938 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.006192, allocations: 117.7 kB / 0.9844 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.006212, allocations: 384 / 0.9844 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.006227, allocations: 8.375 kB / 0.9844 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.006417, allocations: 111.9 kB / 0.9845 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.006425, allocations: 4.188 kB / 0.9845 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.006437, allocations: 4.125 kB / 0.9845 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.006443, allocations: 0 / 0.9845 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.999e-05/0.006523, allocations: 77.59 kB / 0.9846 GB, free: 14.73 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.006893, allocations: 240 kB / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.529e-05/0.006988, allocations: 84.25 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.809e-05/0.007056, allocations: 82.55 kB / 0.985 GB, free: 14.27 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.007073, allocations: 3.938 kB / 0.985 GB, free: 14.27 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.007098, allocations: 34.56 kB / 0.985 GB, free: 14.22 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.007099, allocations: 0 / 0.985 GB, free: 14.22 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0003219/0.007421, allocations: 250.5 kB / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.007469, allocations: 85.09 kB / 0.9854 GB, free: 13.85 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.462e-05/0.007554, allocations: 117.8 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002178/0.007771, allocations: 29.7 kB / 0.9855 GB, free: 13.69 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.007813, allocations: 88.12 kB / 0.9856 GB, free: 13.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.007831, allocations: 15.91 kB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.007862, allocations: 13.72 kB / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.639e-05/0.007949, allocations: 326.9 kB / 0.9859 GB, free: 13.24 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.372e-05/0.008032, allocations: 115.4 kB / 0.986 GB, free: 13.11 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.601e-05/0.008109, allocations: 115.4 kB / 0.9861 GB, free: 12.99 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.00826, allocations: 201.8 kB / 0.9863 GB, free: 12.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008262, allocations: 4 kB / 0.9863 GB, free: 12.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002063/0.008468, allocations: 276.4 kB / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.018e-05/0.008518, allocations: 66.2 kB / 0.9867 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.008525, allocations: 0 / 0.9867 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.008539, allocations: 0 / 0.9867 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.644e-05/0.008596, allocations: 8 kB / 0.9867 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.008601, allocations: 0 / 0.9867 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.75e-05/0.008628, allocations: 15.88 kB / 0.9867 GB, free: 12.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.008641, allocations: 8 kB / 0.9867 GB, free: 12.36 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: 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 8.811e-05/0.008729, allocations: 143.5 kB / 0.9868 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.008744, allocations: 11.94 kB / 0.9868 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.199e-05/0.008766, allocations: 4 kB / 0.9868 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.01e-07/0.008767, allocations: 0 / 0.9868 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.008772, allocations: 0 / 0.9868 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.008776, allocations: 0 / 0.9868 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.008896, allocations: 140.7 kB / 0.987 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.0089, allocations: 11.94 kB / 0.987 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.079e-05/0.008921, allocations: 8 kB / 0.987 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.008923, allocations: 0 / 0.987 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.008932, allocations: 0 / 0.987 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.008934, allocations: 0 / 0.987 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.008935, allocations: 3.938 kB / 0.987 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.009145, allocations: 274.8 kB / 0.9873 GB, free: 11.69 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-06/0.009155, allocations: 12.17 kB / 0.9873 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.009171, allocations: 0 / 0.9873 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.764e-05/0.009209, allocations: 12.02 kB / 0.9873 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.009319, allocations: 7.984 kB / 0.9873 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.009324, allocations: 0 / 0.9873 GB, free: 11.66 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.712e-05/0.009371, allocations: 103.2 kB / 0.9874 GB, free: 11.55 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.009371, allocations: 0 / 0.9874 GB, free: 11.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002252/0.009596, allocations: 63.88 kB / 0.9875 GB, free: 11.49 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: 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.0006061/0.0102, allocations: 0.8684 MB / 0.9883 GB, free: 10.58 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003019/0.0105, allocations: 323.9 kB / 0.9886 GB, free: 10.22 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01051, allocations: 0 / 0.9886 GB, free: 10.22 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.491e-05/0.0106, allocations: 137 kB / 0.9887 GB, free: 10.07 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.0108, allocations: 6.75 kB / 0.9887 GB, free: 10.07 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.01227, allocations: 2.029 MB / 0.9907 GB, free: 7.887 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.305e-05/0.01233, allocations: 63.34 kB / 0.9908 GB, free: 7.805 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.602e-05/0.01236, allocations: 15.98 kB / 0.9908 GB, free: 7.789 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.0124, allocations: 12.5 kB / 0.9908 GB, free: 7.777 MB / 0.948 GB Notification: Performance of SimCode: time 4.21e-07/0.0124, allocations: 0 / 0.9908 GB, free: 7.777 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.04473, allocations: 3.454 MB / 0.9942 GB, free: 4.512 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/7.666, allocations: 13.83 kB / 0.9942 GB, free: 4.5 MB / 0.948 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.csv","/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: 12.090646252967417]