Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.001352/0.001352, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001621/0.001621, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.572/1.572, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.004/3.004, allocations: 476.7 MB / 0.7707 GB, free: 4.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 76.38 kB / 1.117 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3599, allocations: 169.9 MB / 1.283 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002072/0.362, allocations: 0.6302 MB / 1.284 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00234/0.3644, allocations: 1.453 MB / 1.285 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.754e-05/0.3644, allocations: 0 / 1.285 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.259e-05/0.3645, allocations: 4 kB / 1.285 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.615e-05/0.3645, allocations: 3.938 kB / 1.285 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009582/0.3655, allocations: 184.2 kB / 1.286 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.3656, allocations: 39.95 kB / 1.286 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.631e-05/0.3656, allocations: 8.281 kB / 1.286 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.809e-05/0.3657, allocations: 19.92 kB / 1.286 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.853e-05/0.3658, allocations: 23.97 kB / 1.286 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.3658, allocations: 4 kB / 1.286 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000474/0.3663, allocations: 235.5 kB / 1.286 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.811e-05/0.3663, allocations: 7.984 kB / 1.286 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/0.3664, allocations: 23.81 kB / 1.286 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003607/0.3667, allocations: 191.5 kB / 1.286 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3667, allocations: 7.938 kB / 1.286 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3667, allocations: 0 / 1.286 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3667, allocations: 4 kB / 1.286 GB, free: 0.9375 MB / 0.9825 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.0005601/0.3673, allocations: 367.3 kB / 1.287 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3673, allocations: 8.031 kB / 1.287 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.251e-05/0.3674, allocations: 38.73 kB / 1.287 GB, free: 496 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.3674, allocations: 8.891 kB / 1.287 GB, free: 488 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.3675, allocations: 114.5 kB / 1.287 GB, free: 348 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.3676, allocations: 8.312 kB / 1.287 GB, free: 340 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.3676, allocations: 4.375 kB / 1.287 GB, free: 336 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.3678, allocations: 97.7 kB / 1.287 GB, free: 232 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3678, allocations: 4 kB / 1.287 GB, free: 228 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3678, allocations: 7.984 kB / 1.287 GB, free: 220 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3678, allocations: 0 / 1.287 GB, free: 220 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.3679, allocations: 59.95 kB / 1.287 GB, free: 160 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.3681, allocations: 156.7 kB / 1.287 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.3682, allocations: 74.47 kB / 1.287 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3684, allocations: 68.89 kB / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-06/0.3684, allocations: 0 / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.3684, allocations: 42.44 kB / 1.287 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3684, allocations: 0 / 1.287 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004579/0.3688, allocations: 251.2 kB / 1.287 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.3689, allocations: 81.11 kB / 1.287 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.3691, allocations: 149.7 kB / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.3691, allocations: 25.7 kB / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.3692, allocations: 88.14 kB / 1.288 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.3692, allocations: 15.84 kB / 1.288 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.3692, allocations: 33.73 kB / 1.288 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3694, allocations: 318.8 kB / 1.288 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.3695, allocations: 99.94 kB / 1.288 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.3697, allocations: 107.8 kB / 1.288 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.37, allocations: 281.9 kB / 1.289 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.37, allocations: 0 / 1.289 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004173/0.3704, allocations: 324.8 kB / 1.289 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.12e-05/0.3705, allocations: 77.88 kB / 1.289 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3705, allocations: 8.062 kB / 1.289 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3705, allocations: 0 / 1.289 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/0.3705, allocations: 0 / 1.289 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3705, allocations: 0 / 1.289 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.3707, allocations: 11.95 kB / 1.289 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.3707, allocations: 4 kB / 1.289 GB, free: 13.8 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 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * 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.0001424/0.3709, allocations: 143.5 kB / 1.289 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.3709, allocations: 11.89 kB / 1.289 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.3709, allocations: 16.33 kB / 1.289 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3709, allocations: 7.938 kB / 1.289 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3709, allocations: 0 / 1.289 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.3709, allocations: 0 / 1.289 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.3711, allocations: 140.7 kB / 1.289 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3711, allocations: 3.938 kB / 1.289 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.3711, allocations: 0 / 1.289 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.3711, allocations: 3.938 kB / 1.289 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.3711, allocations: 4 kB / 1.289 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3711, allocations: 0 / 1.289 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3711, allocations: 0 / 1.289 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.3714, allocations: 234.7 kB / 1.29 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.3714, allocations: 11.83 kB / 1.29 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.3714, allocations: 4 kB / 1.29 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.344e-05/0.3715, allocations: 4 kB / 1.29 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/0.3716, allocations: 7.984 kB / 1.29 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.3716, allocations: 4 kB / 1.29 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.025e-05/0.3717, allocations: 107.2 kB / 1.29 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3717, allocations: 0 / 1.29 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003293/0.372, allocations: 67.97 kB / 1.29 GB, free: 12.96 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 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0009509/0.373, allocations: 0.816 MB / 1.291 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004469/0.3734, allocations: 326.6 kB / 1.291 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3734, allocations: 0 / 1.291 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.3736, allocations: 131.4 kB / 1.291 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.3737, allocations: 11.98 kB / 1.291 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.3762, allocations: 2.135 MB / 1.293 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.3765, allocations: 0.6885 MB / 1.294 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.047e-05/0.3765, allocations: 4 kB / 1.294 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.3766, allocations: 19.42 kB / 1.294 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/0.3766, allocations: 0 / 1.294 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.4091, allocations: 3.436 MB / 1.297 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.73, allocations: 8.672 kB / 1.297 GB, free: 5.355 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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: 18.5236207859125]