Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.308/2.308, allocations: 443.5 MB / 0.7304 GB, free: 13.93 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 71.89 kB / 1.059 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2544, allocations: 160.7 MB / 1.216 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002504/0.2569, allocations: 1.46 MB / 1.217 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.2582, allocations: 0.7927 MB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.458e-05/0.2582, allocations: 0 / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.901e-05/0.2583, allocations: 11.92 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.757e-05/0.2583, allocations: 4 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005936/0.2589, allocations: 171.8 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.259, allocations: 55.83 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.45e-05/0.2591, allocations: 7.938 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.62e-05/0.2591, allocations: 15.98 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.49e-05/0.2591, allocations: 19.92 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.2592, allocations: 4 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003463/0.2595, allocations: 211.7 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.2595, allocations: 15.92 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.2596, allocations: 11.94 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.2599, allocations: 195.4 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2599, allocations: 0 / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2599, allocations: 0 / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.2599, allocations: 4 kB / 1.218 GB, free: 12.93 MB / 0.9669 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.0005004/0.2604, allocations: 430.5 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.2604, allocations: 12.03 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.2604, allocations: 34.75 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.2605, allocations: 8.891 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.2606, allocations: 168.3 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.2606, allocations: 4.375 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.2606, allocations: 384 / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.2608, allocations: 81.78 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.2608, allocations: 0 / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.2608, allocations: 0 / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.2608, allocations: 4 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.2609, allocations: 51.91 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.2613, allocations: 276.9 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.2614, allocations: 58.48 kB / 1.22 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.509e-05/0.2615, allocations: 48.91 kB / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.2615, allocations: 8 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.2615, allocations: 38.44 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2615, allocations: 0 / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.00037/0.2619, allocations: 183.3 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.2619, allocations: 81.11 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.381e-05/0.262, allocations: 117.8 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.2621, allocations: 29.7 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.2621, allocations: 92.16 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.2621, allocations: 7.953 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.2622, allocations: 17.72 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2623, allocations: 326.8 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.734e-05/0.2624, allocations: 55.97 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.2625, allocations: 59.95 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.2627, allocations: 197.8 kB / 1.221 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2627, allocations: 8.062 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002839/0.263, allocations: 217 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.222e-05/0.2631, allocations: 67.39 kB / 1.221 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2631, allocations: 0 / 1.221 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.2631, allocations: 0 / 1.221 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.781e-05/0.2631, allocations: 4 kB / 1.221 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.2631, allocations: 0 / 1.221 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.2632, allocations: 7.938 kB / 1.221 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.2632, allocations: 4 kB / 1.221 GB, free: 9.98 MB / 0.9669 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.0001139/0.2633, allocations: 155.5 kB / 1.221 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.2633, allocations: 3.953 kB / 1.221 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.129e-05/0.2634, allocations: 11.89 kB / 1.221 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2634, allocations: 0 / 1.221 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2634, allocations: 3.938 kB / 1.221 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2634, allocations: 0 / 1.221 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.2635, allocations: 173.6 kB / 1.221 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2635, allocations: 4 kB / 1.221 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.487e-05/0.2636, allocations: 0 / 1.221 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2636, allocations: 4.234 kB / 1.221 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.2636, allocations: 7.938 kB / 1.221 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2636, allocations: 0 / 1.221 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2636, allocations: 0 / 1.221 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.2639, allocations: 253.1 kB / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.2639, allocations: 81.11 kB / 1.222 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.2639, allocations: 3.984 kB / 1.222 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-05/0.264, allocations: 8.031 kB / 1.222 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.199e-05/0.2641, allocations: 11.92 kB / 1.222 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.2641, allocations: 0 / 1.222 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.07e-05/0.2641, allocations: 99.27 kB / 1.222 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.2641, allocations: 0 / 1.222 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002912/0.2644, allocations: 51.94 kB / 1.222 GB, free: 9.012 MB / 0.9669 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.0007609/0.2652, allocations: 0.8505 MB / 1.223 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003118/0.2655, allocations: 230.7 kB / 1.223 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2655, allocations: 0 / 1.223 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.2656, allocations: 103.3 kB / 1.223 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.2658, allocations: 5.719 kB / 1.223 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.2676, allocations: 1.76 MB / 1.225 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.2679, allocations: 0.6923 MB / 1.225 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.331e-05/0.2679, allocations: 4 kB / 1.225 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.268, allocations: 15.42 kB / 1.225 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.268, allocations: 0 / 1.225 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.2928, allocations: 2.788 MB / 1.228 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/7.378, allocations: 11.5 kB / 1.228 GB, free: 2.492 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.49662156499835]