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.002426/0.002426, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001909/0.001909, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.623/1.623, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] 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.825/2.825, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 71.89 kB / 1.109 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8418/0.8438, allocations: 168.7 MB / 1.274 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001785/0.8456, allocations: 0.6276 MB / 1.275 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00216/0.8478, allocations: 1.396 MB / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.462e-05/0.8478, allocations: 0 / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.151e-05/0.8479, allocations: 0 / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.511e-05/0.8479, allocations: 3.938 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006899/0.8486, allocations: 179.2 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.8487, allocations: 59.88 kB / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.314e-05/0.8488, allocations: 0 / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.822e-05/0.8488, allocations: 19.92 kB / 1.276 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.504e-05/0.8489, allocations: 27.91 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.8489, allocations: 0 / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003641/0.8492, allocations: 207.7 kB / 1.277 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/0.8493, allocations: 15.92 kB / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.8493, allocations: 27.86 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.8496, allocations: 186.2 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.8496, allocations: 0 / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8496, allocations: 0 / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.8496, allocations: 3.938 kB / 1.277 GB, free: 1.695 MB / 0.9669 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.0005558/0.8502, allocations: 450.3 kB / 1.277 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.8502, allocations: 8.031 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.8503, allocations: 8.891 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.8505, allocations: 177.8 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.8505, allocations: 8.375 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.8505, allocations: 384 / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.8507, allocations: 101.9 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.8507, allocations: 3.938 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.8507, allocations: 4 kB / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.8507, allocations: 0 / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.743e-05/0.8508, allocations: 59.95 kB / 1.278 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.851, allocations: 173.7 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.8512, allocations: 78.53 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.711e-05/0.8513, allocations: 72.83 kB / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.8513, allocations: 0 / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.8513, allocations: 34.5 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.8513, allocations: 0 / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004581/0.8518, allocations: 255.2 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.8518, allocations: 81.11 kB / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.852, allocations: 140.2 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.852, allocations: 33.73 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.8521, allocations: 88.09 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.8521, allocations: 15.89 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/0.8522, allocations: 29.7 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.8523, allocations: 318.8 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.8525, allocations: 103.9 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.8526, allocations: 103.9 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.8529, allocations: 273.9 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8529, allocations: 4.031 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000397/0.8533, allocations: 324.8 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-05/0.8534, allocations: 75.38 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.8534, allocations: 0 / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.8534, allocations: 144 / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.915e-06/0.8534, allocations: 4 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.8534, allocations: 0 / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.8536, allocations: 15.88 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.8536, allocations: 4 kB / 1.28 GB, free: 14.42 MB / 0.9825 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.0001397/0.8538, allocations: 160 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.8538, allocations: 11.89 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.861e-05/0.8538, allocations: 12.25 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.8538, allocations: 0 / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.8538, allocations: 3.938 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.8538, allocations: 0 / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.854, allocations: 173.6 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.854, allocations: 0 / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-06/0.854, allocations: 3.938 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.854, allocations: 0 / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.854, allocations: 4 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.854, allocations: 4 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.854, allocations: 0 / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.8543, allocations: 226.7 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.8544, allocations: 89 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.8544, allocations: 0 / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.173e-05/0.8545, allocations: 7.984 kB / 1.28 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/0.8545, allocations: 4 kB / 1.28 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.8545, allocations: 8.031 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.651e-05/0.8546, allocations: 115.1 kB / 1.28 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8546, allocations: 0 / 1.28 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003727/0.855, allocations: 67.92 kB / 1.281 GB, free: 13.44 MB / 0.9825 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.0003136/0.8553, allocations: 147.1 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004441/0.8557, allocations: 330.6 kB / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.8557, allocations: 0 / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.8559, allocations: 127.4 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.8561, allocations: 10.02 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004124/0.8565, allocations: 234.9 kB / 1.281 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.8568, allocations: 0.6885 MB / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.172e-06/0.8569, allocations: 0 / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.485e-05/0.8569, allocations: 15.38 kB / 1.282 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of SimCode: time 3.8e-07/0.8569, allocations: 0 / 1.282 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of Templates: time 0.005506/0.8624, allocations: 2.067 MB / 1.284 GB, free: 9.746 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 400] 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_2/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: 8.991054839920253]