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.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.001423/0.001423, allocations: 107.2 kB / 17.54 MB, free: 4.641 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.001491/0.001491, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.288/1.288, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.495/2.495, allocations: 476.7 MB / 0.7628 GB, free: 15.07 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.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: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 67.88 kB / 1.107 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7599/0.7616, allocations: 168.7 MB / 1.271 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001635/0.7633, allocations: 0.6377 MB / 1.272 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.7646, allocations: 1.395 MB / 1.273 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.7647, allocations: 4.906 kB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.461e-05/0.7647, allocations: 4.828 kB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.206e-05/0.7647, allocations: 2.188 kB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.7653, allocations: 174 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.7654, allocations: 58.95 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.3e-05/0.7654, allocations: 1.75 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.347e-05/0.7655, allocations: 20.16 kB / 1.274 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.477e-05/0.7655, allocations: 26.08 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.7655, allocations: 2.438 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003173/0.7659, allocations: 206.9 kB / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.7659, allocations: 14.44 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.7659, allocations: 20.7 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.7662, allocations: 191.3 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7662, allocations: 0.7812 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.213e-06/0.7662, allocations: 0 / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.956e-06/0.7662, allocations: 0.7812 kB / 1.274 GB, free: 6.07 MB / 0.9981 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.000321/0.7665, allocations: 443.1 kB / 1.275 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.7665, allocations: 11.2 kB / 1.275 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.513e-05/0.7666, allocations: 31.84 kB / 1.275 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.7666, allocations: 11.64 kB / 1.275 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.985e-05/0.7667, allocations: 182.5 kB / 1.275 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-06/0.7667, allocations: 2.219 kB / 1.275 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.7667, allocations: 6.594 kB / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.7669, allocations: 97.73 kB / 1.275 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.7669, allocations: 0.8438 kB / 1.275 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.7669, allocations: 5.031 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.7669, allocations: 0 / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.702e-05/0.767, allocations: 65.83 kB / 1.275 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.7671, allocations: 170.7 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.7672, allocations: 73.7 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.332e-05/0.7673, allocations: 65.22 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-06/0.7673, allocations: 0.9062 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.7673, allocations: 39.22 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.7673, allocations: 4.844 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003538/0.7676, allocations: 255.3 kB / 1.276 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.7676, allocations: 84.81 kB / 1.276 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.646e-05/0.7677, allocations: 149.8 kB / 1.276 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.7677, allocations: 27.02 kB / 1.276 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.564e-05/0.7678, allocations: 87.36 kB / 1.276 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.7678, allocations: 11.17 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.7678, allocations: 31.88 kB / 1.276 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.528e-05/0.7679, allocations: 320.9 kB / 1.276 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.768, allocations: 102.8 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.7681, allocations: 102 kB / 1.276 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.7683, allocations: 275.1 kB / 1.277 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7683, allocations: 0 / 1.277 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003279/0.7687, allocations: 324.7 kB / 1.277 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.7687, allocations: 70.7 kB / 1.277 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.7687, allocations: 1.062 kB / 1.277 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.7687, allocations: 8.047 kB / 1.277 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.452e-06/0.7687, allocations: 0.8438 kB / 1.277 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.7687, allocations: 0 / 1.277 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.7688, allocations: 15.09 kB / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.7688, allocations: 3.344 kB / 1.277 GB, free: 3.887 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 6.592e-05/0.7689, allocations: 151.8 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.7689, allocations: 12.52 kB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.329e-05/0.7689, allocations: 6.359 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.7689, allocations: 1.516 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.7689, allocations: 7.938 kB / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.769, allocations: 0.9062 kB / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.404e-05/0.769, allocations: 174.5 kB / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.769, allocations: 4.844 kB / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.769, allocations: 4 kB / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.769, allocations: 0.9062 kB / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.769, allocations: 1.844 kB / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.769, allocations: 0 / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.769, allocations: 0.9062 kB / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.7693, allocations: 231.8 kB / 1.278 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.7693, allocations: 90.72 kB / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.7693, allocations: 3.625 kB / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.362e-05/0.7693, allocations: 4.266 kB / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.7694, allocations: 6.125 kB / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.7694, allocations: 2.688 kB / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.847e-05/0.7694, allocations: 111.3 kB / 1.278 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7694, allocations: 0.9375 kB / 1.278 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002689/0.7697, allocations: 73.28 kB / 1.278 GB, free: 3.18 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.000502/0.7702, allocations: 0.8139 MB / 1.279 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003208/0.7705, allocations: 325.3 kB / 1.279 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7705, allocations: 0 / 1.279 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.7706, allocations: 130.2 kB / 1.279 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.7708, allocations: 9.25 kB / 1.279 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.7726, allocations: 2.145 MB / 1.281 GB, free: 16.92 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.7728, allocations: 0.6966 MB / 1.282 GB, free: 16.22 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.408e-06/0.7728, allocations: 0 / 1.282 GB, free: 16.22 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.016e-05/0.7729, allocations: 15.44 kB / 1.282 GB, free: 16.21 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.7729, allocations: 0 / 1.282 GB, free: 16.21 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.7981, allocations: 3.301 MB / 1.285 GB, free: 15.74 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.195/7.993, allocations: 9.469 kB / 1.285 GB, free: 15.73 MB / 1.014 GB " [Timeout remaining time 292] (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 --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: 13.23094308600048]