Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001605/0.001605, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002047/0.002047, allocations: 216.5 kB / 22.25 MB, free: 4.855 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.591/1.591, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.375/3.375, allocations: 0.4892 GB / 0.7943 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_12_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.00215/0.00215, allocations: 68.5 kB / 1.153 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4267, allocations: 176.1 MB / 1.325 GB, free: 2.285 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002181/0.4288, allocations: 0.6215 MB / 1.326 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002355/0.4312, allocations: 1.393 MB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.57e-05/0.4312, allocations: 0 / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.725e-05/0.4313, allocations: 0 / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.765e-05/0.4314, allocations: 7.938 kB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008648/0.4322, allocations: 183.6 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.4324, allocations: 43.97 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.4324, allocations: 4.266 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.582e-05/0.4324, allocations: 23.92 kB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.405e-05/0.4325, allocations: 31.83 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.4325, allocations: 4 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004629/0.433, allocations: 207.7 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.056e-05/0.433, allocations: 11.94 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.871e-05/0.4331, allocations: 27.91 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.4335, allocations: 191.4 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4335, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4335, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.4335, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 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.0005287/0.434, allocations: 367.3 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.4341, allocations: 15.97 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.391e-05/0.4341, allocations: 30.75 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.4342, allocations: 8.891 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.4343, allocations: 114.5 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.4343, allocations: 8.375 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.4343, allocations: 384 / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.4346, allocations: 135.4 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.4346, allocations: 0 / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4346, allocations: 0 / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.4346, allocations: 0 / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.4347, allocations: 89.66 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.4349, allocations: 152.7 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.435, allocations: 104.2 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.4351, allocations: 98.58 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.091e-06/0.4352, allocations: 0 / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.4352, allocations: 42.44 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.4352, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004817/0.4357, allocations: 314.6 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.4357, allocations: 81.11 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.4359, allocations: 143.4 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.4359, allocations: 29.7 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.436, allocations: 92.08 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.436, allocations: 11.84 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/0.436, allocations: 29.7 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4362, allocations: 322.8 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.4364, allocations: 171.4 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.4366, allocations: 175.3 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.437, allocations: 285.8 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.437, allocations: 0 / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004938/0.4375, allocations: 396.2 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.442e-05/0.4375, allocations: 71.38 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4375, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.4376, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.4376, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4376, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.4378, allocations: 11.95 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.4378, allocations: 12 kB / 1.331 GB, free: 11.96 MB / 1.029 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.0001322/0.4379, allocations: 152 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.4379, allocations: 11.89 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.4379, allocations: 8.484 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.4379, allocations: 7.922 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.438, allocations: 0 / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.438, allocations: 0 / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.4381, allocations: 144.7 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.4381, allocations: 7.938 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.4381, allocations: 0 / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.4381, allocations: 4 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.4381, allocations: 4 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4381, allocations: 0 / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4381, allocations: 0 / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.4384, allocations: 256.4 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.633e-05/0.4384, allocations: 15.83 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.4385, allocations: 7.984 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.458e-05/0.4385, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.4386, allocations: 11.98 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.4386, allocations: 4 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.647e-05/0.4387, allocations: 101.1 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4387, allocations: 4.031 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003229/0.439, allocations: 67.92 kB / 1.332 GB, free: 11.07 MB / 1.029 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.0008562/0.4399, allocations: 0.8381 MB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005218/0.4404, allocations: 423.7 kB / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4404, allocations: 3.938 kB / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.4406, allocations: 157 kB / 1.333 GB, free: 9.559 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.4408, allocations: 11.98 kB / 1.333 GB, free: 9.547 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.4435, allocations: 2.442 MB / 1.335 GB, free: 6.957 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.692e-05/0.4436, allocations: 83.34 kB / 1.336 GB, free: 6.855 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.863e-06/0.4436, allocations: 0 / 1.336 GB, free: 6.855 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.4436, allocations: 23.44 kB / 1.336 GB, free: 6.832 MB / 1.029 GB Notification: Performance of SimCode: time 7.82e-07/0.4436, allocations: 0 / 1.336 GB, free: 6.832 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.4768, allocations: 3.91 MB / 1.339 GB, free: 3.07 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.65, allocations: 2.75 kB / 1.339 GB, free: 3.07 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.93673437414691]