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.001455/0.001455, allocations: 112.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.001452/0.001452, 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.293/1.293, allocations: 225.6 MB / 249.3 MB, free: 3.16 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.455/2.455, allocations: 476.7 MB / 0.7628 GB, free: 15.27 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.001758/0.001758, allocations: 67.89 kB / 1.107 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7205/0.7222, allocations: 168.7 MB / 1.271 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002141/0.7244, allocations: 1.465 MB / 1.273 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.7254, allocations: 0.787 MB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/0.7254, allocations: 1.094 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.465e-05/0.7255, allocations: 4.75 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.921e-05/0.7255, allocations: 6.641 kB / 1.274 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.726, allocations: 170.7 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.267e-05/0.7261, allocations: 48.61 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.116e-05/0.7262, allocations: 11.53 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.091e-05/0.7262, allocations: 16.56 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.94e-05/0.7263, allocations: 19.55 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.7263, allocations: 3.688 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.7266, allocations: 212.5 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.7266, allocations: 3.875 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.7266, allocations: 22.91 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.7269, allocations: 189 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.7269, allocations: 4 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7269, allocations: 4.656 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.7269, allocations: 0 / 1.274 GB, free: 5.965 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.0003508/0.7272, allocations: 438.9 kB / 1.275 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.7273, allocations: 9.188 kB / 1.275 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.212e-05/0.7273, allocations: 34.72 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.7273, allocations: 3.688 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.825e-05/0.7274, allocations: 167.3 kB / 1.275 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.7274, allocations: 5.75 kB / 1.275 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.7274, allocations: 2.906 kB / 1.275 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.7276, allocations: 77.34 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.7276, allocations: 0 / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.7276, allocations: 8.938 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-06/0.7276, allocations: 0.9688 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.884e-05/0.7277, allocations: 50.28 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.728, allocations: 280.3 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.844e-05/0.7281, allocations: 54.36 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.682e-05/0.7281, allocations: 44.52 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.7282, allocations: 4 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.7282, allocations: 36.59 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.7282, allocations: 0 / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0003388/0.7285, allocations: 186.8 kB / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.7285, allocations: 79.94 kB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.103e-05/0.7286, allocations: 131.5 kB / 1.276 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.7286, allocations: 26.52 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.34e-05/0.7286, allocations: 90.42 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.7287, allocations: 14.5 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.7287, allocations: 23.72 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.211e-05/0.7287, allocations: 318 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.163e-05/0.7288, allocations: 56.88 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-05/0.7289, allocations: 59.89 kB / 1.276 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.7291, allocations: 193 kB / 1.277 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7291, allocations: 4 kB / 1.277 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002321/0.7293, allocations: 212.9 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.7293, allocations: 67.38 kB / 1.277 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.7293, allocations: 0.8438 kB / 1.277 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.7294, allocations: 0 / 1.277 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.3e-05/0.7294, allocations: 7.734 kB / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.7294, allocations: 0.75 kB / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.308e-05/0.7295, allocations: 11.25 kB / 1.277 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.7295, allocations: 2.562 kB / 1.277 GB, free: 3.707 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.046e-05/0.7295, allocations: 154.5 kB / 1.277 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.7296, allocations: 2.719 kB / 1.277 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.612e-05/0.7296, allocations: 7.141 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.7296, allocations: 0.75 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.7296, allocations: 0 / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.7296, allocations: 0.9062 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.7297, allocations: 174.2 kB / 1.277 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.7297, allocations: 0.6094 kB / 1.277 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.598e-05/0.7297, allocations: 7.781 kB / 1.277 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.7297, allocations: 8.875 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.7297, allocations: 3.016 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.7297, allocations: 0 / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.7297, allocations: 0 / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.7299, allocations: 251.9 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.73, allocations: 87.5 kB / 1.278 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.73, allocations: 2.219 kB / 1.278 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.488e-05/0.73, allocations: 8.828 kB / 1.278 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/0.7301, allocations: 14.75 kB / 1.278 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.7301, allocations: 1.75 kB / 1.278 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.661e-05/0.7301, allocations: 95.02 kB / 1.278 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7301, allocations: 0 / 1.278 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002941/0.7304, allocations: 57.77 kB / 1.278 GB, free: 2.938 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.0004716/0.7309, allocations: 0.8361 MB / 1.279 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002627/0.7312, allocations: 233.5 kB / 1.279 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.7312, allocations: 0 / 1.279 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.346e-05/0.7313, allocations: 95.48 kB / 1.279 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.7315, allocations: 13.69 kB / 1.279 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.733, allocations: 1.756 MB / 1.281 GB, free: 16.59 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.7333, allocations: 0.6897 MB / 1.281 GB, free: 15.89 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.264e-05/0.7333, allocations: 0 / 1.281 GB, free: 15.89 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.7334, allocations: 15.97 kB / 1.281 GB, free: 15.88 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/0.7334, allocations: 0 / 1.281 GB, free: 15.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.757, allocations: 2.799 MB / 1.284 GB, free: 15.45 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.958/7.715, allocations: 10.89 kB / 1.284 GB, free: 15.45 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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: 12.93444873199951]