Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001532/0.001532, allocations: 111.3 kB / 17.61 MB, free: 4.684 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.001594/0.001594, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.434/1.434, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.654/2.654, allocations: 443.4 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 71.89 kB / 1.059 GB, free: 340 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3529, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001815/0.3547, allocations: 0.6235 MB / 1.217 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001949/0.3566, allocations: 1.389 MB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.3567, allocations: 3.938 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.316e-05/0.3567, allocations: 7.922 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.039e-05/0.3568, allocations: 8 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006696/0.3574, allocations: 179.5 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.3576, allocations: 47.91 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.54e-05/0.3576, allocations: 0 / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.945e-05/0.3576, allocations: 19.98 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.445e-05/0.3577, allocations: 27.89 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.3577, allocations: 4 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003564/0.3581, allocations: 215.7 kB / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.3581, allocations: 7.938 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.374e-05/0.3581, allocations: 27.84 kB / 1.219 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.3584, allocations: 195.3 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3584, allocations: 0 / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3584, allocations: 0 / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3584, allocations: 4 kB / 1.219 GB, free: 12.55 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.0005264/0.359, allocations: 438.3 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.359, allocations: 12.03 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.028e-05/0.3591, allocations: 8.891 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.3592, allocations: 176.4 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3592, allocations: 384 / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.3593, allocations: 8.359 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.3595, allocations: 97.95 kB / 1.22 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3595, allocations: 0 / 1.22 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3595, allocations: 0 / 1.22 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3595, allocations: 0 / 1.22 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.65e-05/0.3596, allocations: 67.83 kB / 1.22 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.3598, allocations: 177.6 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.3599, allocations: 78.58 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.351e-05/0.36, allocations: 68.83 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.36, allocations: 0 / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.36, allocations: 38.5 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.36, allocations: 0 / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004158/0.3605, allocations: 251.2 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.3605, allocations: 85.11 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.3607, allocations: 147.1 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3607, allocations: 25.7 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.3607, allocations: 96.08 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.3608, allocations: 7.938 kB / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-05/0.3608, allocations: 25.72 kB / 1.221 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3609, allocations: 322.8 kB / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.3611, allocations: 99.94 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.3612, allocations: 103.9 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.3615, allocations: 289.7 kB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3615, allocations: 0 / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003839/0.3619, allocations: 332.8 kB / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.369e-05/0.3619, allocations: 69.42 kB / 1.222 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.362, allocations: 0 / 1.222 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.362, allocations: 0 / 1.222 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.362, allocations: 0 / 1.222 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.362, allocations: 0 / 1.222 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.3621, allocations: 19.88 kB / 1.222 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.3621, allocations: 8 kB / 1.222 GB, free: 9.27 MB / 0.9669 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.0001234/0.3623, allocations: 147.6 kB / 1.222 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.3623, allocations: 11.89 kB / 1.222 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.874e-05/0.3623, allocations: 8.25 kB / 1.222 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3623, allocations: 0 / 1.222 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3623, allocations: 0 / 1.222 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.3623, allocations: 0 / 1.222 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.3625, allocations: 173.6 kB / 1.222 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3625, allocations: 4 kB / 1.222 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-06/0.3625, allocations: 3.938 kB / 1.222 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.3625, allocations: 7.938 kB / 1.222 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.3625, allocations: 4 kB / 1.222 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.3625, allocations: 3.984 kB / 1.222 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3625, allocations: 0 / 1.222 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.3628, allocations: 230.8 kB / 1.222 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.3628, allocations: 96.91 kB / 1.222 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.3629, allocations: 4 kB / 1.222 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.434e-05/0.3629, allocations: 0 / 1.222 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/0.363, allocations: 12.02 kB / 1.222 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.363, allocations: 4 kB / 1.222 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.389e-05/0.3631, allocations: 107.2 kB / 1.223 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3631, allocations: 0 / 1.223 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003014/0.3634, allocations: 59.94 kB / 1.223 GB, free: 8.293 MB / 0.9669 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.0002933/0.3637, allocations: 155.1 kB / 1.223 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004093/0.3641, allocations: 326.6 kB / 1.223 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3641, allocations: 4.062 kB / 1.223 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.3642, allocations: 127.3 kB / 1.223 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.3644, allocations: 7.938 kB / 1.223 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.3648, allocations: 225.4 kB / 1.223 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.3651, allocations: 0.6924 MB / 1.224 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.234e-06/0.3651, allocations: 3.906 kB / 1.224 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.289e-05/0.3651, allocations: 15.44 kB / 1.224 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.3651, allocations: 3.938 kB / 1.224 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of Templates: time 0.005166/0.3703, allocations: 2.073 MB / 1.226 GB, free: 4.59 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.076203633099794]