Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001312/0.001312, 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.001593/0.001593, allocations: 212.9 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.387/3.387, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_latest_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.00276/0.00276, allocations: 66.8 kB / 1.177 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4432, allocations: 180.2 MB / 1.353 GB, free: 8.359 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001959/0.4451, allocations: 0.6186 MB / 1.354 GB, free: 7.742 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.4474, allocations: 1.451 MB / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.4475, allocations: 4 kB / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.645e-05/0.4475, allocations: 3.938 kB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.373e-05/0.4476, allocations: 7.984 kB / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008218/0.4484, allocations: 180.5 kB / 1.355 GB, free: 6.082 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.4485, allocations: 51.89 kB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.4486, allocations: 4.281 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.473e-05/0.4486, allocations: 23.91 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.515e-05/0.4487, allocations: 23.97 kB / 1.355 GB, free: 5.98 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.4487, allocations: 4 kB / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004294/0.4491, allocations: 227.7 kB / 1.355 GB, free: 5.754 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.4492, allocations: 15.94 kB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.4492, allocations: 23.8 kB / 1.355 GB, free: 5.715 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.4495, allocations: 187.5 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.4496, allocations: 3.984 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4496, allocations: 0 / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.4496, allocations: 3.938 kB / 1.356 GB, free: 5.523 MB / 1.045 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.0004886/0.45, allocations: 371.3 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.4501, allocations: 8.031 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.536e-05/0.4501, allocations: 38.75 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.4502, allocations: 4.891 kB / 1.356 GB, free: 5.062 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.4503, allocations: 122.4 kB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.4503, allocations: 384 / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.4503, allocations: 4.375 kB / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.4505, allocations: 97.77 kB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.4505, allocations: 3.984 kB / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.4505, allocations: 0 / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.4505, allocations: 0 / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.923e-05/0.4506, allocations: 71.94 kB / 1.356 GB, free: 4.738 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.4508, allocations: 152.7 kB / 1.356 GB, free: 4.547 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.4509, allocations: 78.47 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.69e-05/0.451, allocations: 64.89 kB / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-06/0.451, allocations: 0 / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.4511, allocations: 46.48 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.4511, allocations: 0 / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004142/0.4515, allocations: 255.2 kB / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.4515, allocations: 85.05 kB / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.4517, allocations: 144.2 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.4517, allocations: 25.7 kB / 1.357 GB, free: 3.797 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.4517, allocations: 96.09 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.4518, allocations: 15.88 kB / 1.357 GB, free: 3.684 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.4518, allocations: 21.72 kB / 1.357 GB, free: 3.656 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.452, allocations: 322.8 kB / 1.358 GB, free: 3.332 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.4521, allocations: 104 kB / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.4522, allocations: 103.9 kB / 1.358 GB, free: 3.129 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.4526, allocations: 277.8 kB / 1.358 GB, free: 2.836 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4526, allocations: 0 / 1.358 GB, free: 2.836 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003758/0.4529, allocations: 324.8 kB / 1.358 GB, free: 2.5 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.599e-05/0.453, allocations: 75.33 kB / 1.358 GB, free: 2.414 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.453, allocations: 0 / 1.358 GB, free: 2.414 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.453, allocations: 0 / 1.358 GB, free: 2.414 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.453, allocations: 0 / 1.358 GB, free: 2.414 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.453, allocations: 0 / 1.358 GB, free: 2.414 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.4532, allocations: 16.02 kB / 1.358 GB, free: 2.398 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.4533, allocations: 7.984 kB / 1.358 GB, free: 2.391 MB / 1.045 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.0001503/0.4534, allocations: 155.5 kB / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.4535, allocations: 11.89 kB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.784e-05/0.4535, allocations: 4.344 kB / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.4535, allocations: 0 / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4535, allocations: 0 / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4535, allocations: 0 / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.4536, allocations: 144.7 kB / 1.359 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4536, allocations: 7.938 kB / 1.359 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.4536, allocations: 0 / 1.359 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.4536, allocations: 4 kB / 1.359 GB, free: 2.008 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.4537, allocations: 0 / 1.359 GB, free: 2.008 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.4537, allocations: 0 / 1.359 GB, free: 2.008 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4537, allocations: 0 / 1.359 GB, free: 2.008 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.454, allocations: 230.6 kB / 1.359 GB, free: 1.758 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.454, allocations: 15.83 kB / 1.359 GB, free: 1.742 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.454, allocations: 4.031 kB / 1.359 GB, free: 1.738 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.739e-05/0.4541, allocations: 7.984 kB / 1.359 GB, free: 1.73 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.4541, allocations: 8 kB / 1.359 GB, free: 1.723 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.4541, allocations: 0 / 1.359 GB, free: 1.723 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.435e-05/0.4542, allocations: 113.1 kB / 1.359 GB, free: 1.613 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4542, allocations: 0 / 1.359 GB, free: 1.613 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003456/0.4546, allocations: 63.92 kB / 1.359 GB, free: 1.551 MB / 1.045 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.0008606/0.4554, allocations: 0.817 MB / 1.36 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004133/0.4559, allocations: 330.6 kB / 1.36 GB, free: 360 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4559, allocations: 3.938 kB / 1.36 GB, free: 356 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.456, allocations: 123.4 kB / 1.36 GB, free: 220 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.4562, allocations: 7.984 kB / 1.36 GB, free: 212 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.4586, allocations: 2.13 MB / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.459, allocations: 0.6924 MB / 1.363 GB, free: 13.27 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.237e-06/0.459, allocations: 4.031 kB / 1.363 GB, free: 13.26 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.4591, allocations: 19.44 kB / 1.363 GB, free: 13.24 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/0.4591, allocations: 0 / 1.363 GB, free: 13.24 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/0.49, allocations: 3.43 MB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.57, allocations: 18.25 kB / 1.367 GB, free: 9.938 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.83761245990172]