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.0008165/0.0008165, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008632/0.0008632, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8941/0.8941, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.817/1.817, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.279e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001256/0.001279, allocations: 0.611 MB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.002784, allocations: 1.382 MB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.661e-05/0.00281, allocations: 7.938 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.68e-05/0.002867, allocations: 3.984 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.783e-05/0.002905, allocations: 0 / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.003438, allocations: 185.8 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.842e-05/0.003537, allocations: 55.81 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.003572, allocations: 7.938 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.629e-05/0.003618, allocations: 19.98 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.969e-05/0.003668, allocations: 27.89 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.003681, allocations: 4 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.003924, allocations: 203.7 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.003968, allocations: 15.94 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.003996, allocations: 11.98 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.004226, allocations: 243.3 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.004229, allocations: 0 / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.012e-06/0.00423, allocations: 4 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.004234, allocations: 0 / 1.002 GB, free: 10.67 MB / 0.9636 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.0003164/0.004551, allocations: 361.3 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.00459, allocations: 12.75 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.492e-05/0.004615, allocations: 30.75 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.004643, allocations: 8.891 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.539e-05/0.004718, allocations: 117.6 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.004729, allocations: 8.312 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.004738, allocations: 384 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.00489, allocations: 135.9 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.7e-06/0.004895, allocations: 192 / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.004904, allocations: 4.125 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.004908, allocations: 0 / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.107e-05/0.004979, allocations: 93.59 kB / 1.003 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.005095, allocations: 144.7 kB / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.295e-05/0.005188, allocations: 100.2 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.884e-05/0.005257, allocations: 98.59 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-06/0.005263, allocations: 0 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.005284, allocations: 34.56 kB / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.005285, allocations: 4 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0003143/0.005599, allocations: 322.5 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.005637, allocations: 85.09 kB / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.017e-05/0.005727, allocations: 143.3 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.005737, allocations: 25.7 kB / 1.004 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.005776, allocations: 92.12 kB / 1.004 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.005797, allocations: 7.906 kB / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.005834, allocations: 29.7 kB / 1.004 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.005908, allocations: 318.8 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.006023, allocations: 171.3 kB / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.006129, allocations: 175.3 kB / 1.005 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.006322, allocations: 285.9 kB / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.006325, allocations: 0 / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002643/0.006589, allocations: 396.2 kB / 1.005 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.599e-05/0.006635, allocations: 73.27 kB / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.006642, allocations: 3.938 kB / 1.006 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.006655, allocations: 0 / 1.006 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.224e-06/0.006657, allocations: 3.984 kB / 1.006 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.006662, allocations: 0 / 1.006 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.006796, allocations: 15.89 kB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.006807, allocations: 4 kB / 1.006 GB, free: 7.102 MB / 0.9636 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 7.768e-05/0.006884, allocations: 151.6 kB / 1.006 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.006895, allocations: 7.953 kB / 1.006 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.674e-05/0.006912, allocations: 16.27 kB / 1.006 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.006914, allocations: 3.938 kB / 1.006 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.006918, allocations: 0 / 1.006 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.00692, allocations: 0 / 1.006 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.988e-05/0.007, allocations: 140.7 kB / 1.006 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.007002, allocations: 4.125 kB / 1.006 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.007003, allocations: 0 / 1.006 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.007006, allocations: 3.984 kB / 1.006 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.007016, allocations: 11.94 kB / 1.006 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.007018, allocations: 0 / 1.006 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.00702, allocations: 3.984 kB / 1.006 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.007217, allocations: 256.3 kB / 1.006 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.007225, allocations: 7.953 kB / 1.006 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.007239, allocations: 7.938 kB / 1.006 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.447e-05/0.007274, allocations: 3.984 kB / 1.006 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.007325, allocations: 8 kB / 1.006 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.007331, allocations: 4 kB / 1.006 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.247e-05/0.007373, allocations: 103.2 kB / 1.006 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007373, allocations: 0 / 1.006 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002073/0.00758, allocations: 75.89 kB / 1.006 GB, free: 6.211 MB / 0.9636 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.0004989/0.008079, allocations: 0.8343 MB / 1.007 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002886/0.008368, allocations: 427.7 kB / 1.008 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.00837, allocations: 0 / 1.008 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.008532, allocations: 153 kB / 1.008 GB, free: 4.707 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/0.00865, allocations: 12.11 kB / 1.008 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.0102, allocations: 2.463 MB / 1.01 GB, free: 2.086 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.658e-05/0.01026, allocations: 75.52 kB / 1.01 GB, free: 1.992 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.121e-06/0.01026, allocations: 4 kB / 1.01 GB, free: 1.988 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.0103, allocations: 16.5 kB / 1.01 GB, free: 1.973 MB / 0.9636 GB Notification: Performance of SimCode: time 5.21e-07/0.0103, allocations: 0 / 1.01 GB, free: 1.973 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.02786, allocations: 4.045 MB / 1.014 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.918/6.946, allocations: 4.875 kB / 1.014 GB, free: 14.07 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 11.075509740039706]