Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001824/0.001824, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.001943/0.001943, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.355/1.355, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.919/2.919, allocations: 497.2 MB / 0.7811 GB, free: 33.76 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 68.55 kB / 1.134 GB, free: 33.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.315, allocations: 173.9 MB / 1.304 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003103/0.3181, allocations: 1.447 MB / 1.305 GB, free: 72 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.3197, allocations: 0.7831 MB / 1.306 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.3197, allocations: 0 / 1.306 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.936e-05/0.3198, allocations: 0 / 1.306 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.244e-05/0.3198, allocations: 7.922 kB / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007373/0.3206, allocations: 175.9 kB / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.3207, allocations: 47.84 kB / 1.306 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.971e-05/0.3208, allocations: 7.938 kB / 1.306 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.698e-05/0.3208, allocations: 19.98 kB / 1.306 GB, free: 15.03 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.272e-05/0.3209, allocations: 15.92 kB / 1.306 GB, free: 15.01 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.3209, allocations: 4 kB / 1.306 GB, free: 15.01 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003696/0.3213, allocations: 203.7 kB / 1.307 GB, free: 14.81 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.178e-05/0.3213, allocations: 15.92 kB / 1.307 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.3213, allocations: 15.94 kB / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.3217, allocations: 199.5 kB / 1.307 GB, free: 14.58 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3217, allocations: 0 / 1.307 GB, free: 14.58 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3217, allocations: 0 / 1.307 GB, free: 14.58 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.3217, allocations: 0 / 1.307 GB, free: 14.58 MB / 1.014 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.0006054/0.3223, allocations: 430.5 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3223, allocations: 12.61 kB / 1.307 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.303e-05/0.3224, allocations: 38.69 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.3224, allocations: 4.922 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.3226, allocations: 180.3 kB / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.3226, allocations: 384 / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.3226, allocations: 4.375 kB / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.3228, allocations: 77.78 kB / 1.308 GB, free: 13.74 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.3228, allocations: 3.938 kB / 1.308 GB, free: 13.73 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3228, allocations: 0 / 1.308 GB, free: 13.73 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.3228, allocations: 4 kB / 1.308 GB, free: 13.73 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.3229, allocations: 43.97 kB / 1.308 GB, free: 13.69 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.3234, allocations: 284.8 kB / 1.308 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.3235, allocations: 58.55 kB / 1.308 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.154e-05/0.3236, allocations: 48.91 kB / 1.308 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.323e-06/0.3236, allocations: 0 / 1.308 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.3236, allocations: 34.56 kB / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.3236, allocations: 0 / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.000393/0.324, allocations: 191.2 kB / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.3241, allocations: 81.09 kB / 1.308 GB, free: 12.9 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.3242, allocations: 121.8 kB / 1.308 GB, free: 12.77 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.3242, allocations: 25.7 kB / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.3242, allocations: 92.08 kB / 1.309 GB, free: 12.65 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.3243, allocations: 11.94 kB / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.3243, allocations: 21.72 kB / 1.309 GB, free: 12.61 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3245, allocations: 326.8 kB / 1.309 GB, free: 12.28 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.3246, allocations: 55.97 kB / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.426e-05/0.3247, allocations: 55.97 kB / 1.309 GB, free: 12.17 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.3249, allocations: 193.9 kB / 1.309 GB, free: 11.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3249, allocations: 0 / 1.309 GB, free: 11.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002941/0.3252, allocations: 217 kB / 1.309 GB, free: 11.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.829e-05/0.3252, allocations: 59.41 kB / 1.309 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3252, allocations: 4 kB / 1.309 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3253, allocations: 4 kB / 1.309 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.446e-05/0.3253, allocations: 3.984 kB / 1.309 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.3253, allocations: 4 kB / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.008e-05/0.3254, allocations: 11.89 kB / 1.309 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.3254, allocations: 4 kB / 1.309 GB, free: 11.63 MB / 1.014 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.000115/0.3255, allocations: 147.5 kB / 1.31 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.3255, allocations: 8.062 kB / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.3256, allocations: 7.906 kB / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3256, allocations: 8 kB / 1.31 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3256, allocations: 0 / 1.31 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3256, allocations: 0 / 1.31 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.3258, allocations: 177.5 kB / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3258, allocations: 0 / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/0.3258, allocations: 7.984 kB / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3258, allocations: 0 / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.547e-06/0.3258, allocations: 0 / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3258, allocations: 0 / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3258, allocations: 11.88 kB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.3261, allocations: 257.3 kB / 1.31 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.3261, allocations: 81.06 kB / 1.31 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.3262, allocations: 4 kB / 1.31 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.3262, allocations: 7.984 kB / 1.31 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.3263, allocations: 4 kB / 1.31 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.3263, allocations: 0 / 1.31 GB, free: 10.81 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.961e-05/0.3264, allocations: 103.2 kB / 1.31 GB, free: 10.71 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3264, allocations: 4.031 kB / 1.31 GB, free: 10.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003116/0.3267, allocations: 55.88 kB / 1.31 GB, free: 10.65 MB / 1.014 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.0007955/0.3275, allocations: 0.8292 MB / 1.311 GB, free: 9.789 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003464/0.3279, allocations: 234.8 kB / 1.311 GB, free: 9.535 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3279, allocations: 0 / 1.311 GB, free: 9.535 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.328, allocations: 103.4 kB / 1.311 GB, free: 9.422 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.3282, allocations: 4 kB / 1.311 GB, free: 9.418 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.3302, allocations: 1.752 MB / 1.313 GB, free: 7.57 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.3305, allocations: 0.6884 MB / 1.314 GB, free: 6.855 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.489e-05/0.3305, allocations: 3.938 kB / 1.314 GB, free: 6.852 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.3305, allocations: 19.44 kB / 1.314 GB, free: 6.832 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.3305, allocations: 0 / 1.314 GB, free: 6.832 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02613/0.3567, allocations: 2.826 MB / 1.317 GB, free: 4.188 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/8.081, allocations: 21.23 kB / 1.317 GB, free: 4.172 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.142546832095832]