Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001167/0.001167, allocations: 107.2 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.001118/0.001118, allocations: 189.9 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.293/1.293, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.502/2.502, allocations: 476.7 MB / 0.7628 GB, free: 15.32 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 59.91 kB / 1.107 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7726/0.7745, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002086/0.7766, allocations: 1.466 MB / 1.273 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.7776, allocations: 0.7946 MB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.7777, allocations: 4.938 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.173e-05/0.7777, allocations: 1.406 kB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.066e-05/0.7778, allocations: 6.141 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.7783, allocations: 172.3 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.809e-05/0.7784, allocations: 47.92 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.237e-05/0.7785, allocations: 9.547 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.036e-05/0.7785, allocations: 12.64 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.334e-05/0.7785, allocations: 18.17 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.7785, allocations: 4.594 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.7788, allocations: 205.1 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.801e-05/0.7789, allocations: 13.77 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.7789, allocations: 19.94 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.7792, allocations: 194.1 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.7792, allocations: 1.031 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7792, allocations: 0 / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.7792, allocations: 0 / 1.274 GB, free: 5.957 MB / 0.9981 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.0003608/0.7795, allocations: 432.4 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.7796, allocations: 16.8 kB / 1.275 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.409e-05/0.7796, allocations: 35.81 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.7796, allocations: 3.75 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.434e-05/0.7797, allocations: 171.9 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-06/0.7797, allocations: 5.312 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.7797, allocations: 2.938 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.7799, allocations: 77.67 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.7799, allocations: 3.938 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.7799, allocations: 4.953 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.7799, allocations: 0.6562 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.78, allocations: 46.88 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.7803, allocations: 290.5 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.7804, allocations: 57.89 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.169e-05/0.7805, allocations: 49.91 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-06/0.7805, allocations: 0.6562 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.7805, allocations: 31.59 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.7805, allocations: 0 / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0003547/0.7808, allocations: 190.9 kB / 1.276 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.7809, allocations: 80.44 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.127e-05/0.7809, allocations: 121.2 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.7809, allocations: 30.64 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.509e-05/0.781, allocations: 84.19 kB / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.781, allocations: 14.91 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.781, allocations: 18.48 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.688e-05/0.781, allocations: 322.6 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.851e-05/0.7811, allocations: 61.67 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-05/0.7812, allocations: 57.47 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.7814, allocations: 191.5 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7814, allocations: 0 / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002401/0.7817, allocations: 217.1 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.7817, allocations: 66.59 kB / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.7817, allocations: 0 / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.7817, allocations: 0.9375 kB / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.827e-05/0.7817, allocations: 7.516 kB / 1.277 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.7818, allocations: 0.8125 kB / 1.277 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.432e-05/0.7818, allocations: 10.2 kB / 1.277 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.7818, allocations: 3.062 kB / 1.277 GB, free: 3.691 MB / 0.9981 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 6.119e-05/0.7819, allocations: 151.7 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.7819, allocations: 6.5 kB / 1.277 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.831e-05/0.7819, allocations: 10.34 kB / 1.277 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.7819, allocations: 0 / 1.277 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7819, allocations: 6.406 kB / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.7819, allocations: 0 / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.782, allocations: 174.1 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.782, allocations: 0 / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.627e-05/0.7821, allocations: 4.609 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.7821, allocations: 1.031 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.7821, allocations: 0.7812 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.7821, allocations: 7.266 kB / 1.277 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7821, allocations: 0 / 1.277 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.7823, allocations: 254 kB / 1.277 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.7823, allocations: 86.5 kB / 1.278 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.7823, allocations: 2.203 kB / 1.278 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-05/0.7824, allocations: 6.219 kB / 1.278 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/0.7825, allocations: 5.906 kB / 1.278 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.7825, allocations: 5.469 kB / 1.278 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.699e-05/0.7825, allocations: 99.39 kB / 1.278 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7825, allocations: 0 / 1.278 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000291/0.7828, allocations: 58.2 kB / 1.278 GB, free: 2.922 MB / 0.9981 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.0004938/0.7833, allocations: 0.8411 MB / 1.279 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002648/0.7836, allocations: 231.4 kB / 1.279 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.7836, allocations: 4.031 kB / 1.279 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.572e-05/0.7837, allocations: 98.33 kB / 1.279 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.7838, allocations: 2.625 kB / 1.279 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.7854, allocations: 1.767 MB / 1.281 GB, free: 16.57 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.7857, allocations: 0.6879 MB / 1.281 GB, free: 15.88 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.377e-05/0.7857, allocations: 0.8438 kB / 1.281 GB, free: 15.88 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.7858, allocations: 14.5 kB / 1.281 GB, free: 15.86 MB / 1.014 GB Notification: Performance of SimCode: time 6.01e-07/0.7858, allocations: 4.875 kB / 1.281 GB, free: 15.86 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.8112, allocations: 2.793 MB / 1.284 GB, free: 15.43 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.121/7.932, allocations: 8.5 kB / 1.284 GB, free: 15.43 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.294418878002034]