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.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.0008884/0.0008884, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001047/0.001047, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9062/0.9062, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.684/1.684, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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: 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 1.042e-06/1.042e-06, allocations: 0 / 0.9518 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.874e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001023/0.001042, allocations: 0.6189 MB / 0.9524 GB, free: 2.301 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.002365, allocations: 1.389 MB / 0.9537 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.57e-05/0.002391, allocations: 0 / 0.9537 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 5.461e-05/0.002445, allocations: 3.938 kB / 0.9537 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.85e-05/0.002484, allocations: 4 kB / 0.9537 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.002982, allocations: 183.5 kB / 0.9539 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.722e-05/0.00308, allocations: 47.89 kB / 0.954 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.003113, allocations: 4 kB / 0.954 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.613e-05/0.003159, allocations: 23.97 kB / 0.954 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.627e-05/0.003206, allocations: 23.91 kB / 0.954 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.003218, allocations: 8 kB / 0.954 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002354/0.003453, allocations: 211.6 kB / 0.9542 GB, free: 404 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.26e-05/0.003496, allocations: 15.92 kB / 0.9542 GB, free: 388 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.003524, allocations: 12 kB / 0.9543 GB, free: 376 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.003746, allocations: 235.5 kB / 0.9545 GB, free: 140 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.003748, allocations: 0 / 0.9545 GB, free: 140 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003749, allocations: 0 / 0.9545 GB, free: 140 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.003753, allocations: 3.938 kB / 0.9545 GB, free: 136 kB / 0.9011 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.0003322/0.004085, allocations: 369.2 kB / 0.9548 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.004119, allocations: 8.031 kB / 0.9548 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.004152, allocations: 8.891 kB / 0.9549 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.458e-05/0.004227, allocations: 119.9 kB / 0.955 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.004237, allocations: 8.312 kB / 0.955 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.004247, allocations: 384 / 0.955 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.00439, allocations: 123.9 kB / 0.9551 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.004396, allocations: 192 / 0.9551 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.004406, allocations: 384 / 0.9551 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.004411, allocations: 7.875 kB / 0.9551 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.749e-05/0.004479, allocations: 93.66 kB / 0.9552 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001008/0.004579, allocations: 117.3 kB / 0.9553 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.004746, allocations: 112.2 kB / 0.9554 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.348e-05/0.004809, allocations: 94.59 kB / 0.9555 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.004816, allocations: 7.984 kB / 0.9555 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.004839, allocations: 34.55 kB / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.00484, allocations: 0 / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0002923/0.005133, allocations: 310.6 kB / 0.9558 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.005166, allocations: 85.03 kB / 0.9559 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.216e-05/0.005248, allocations: 145.6 kB / 0.9561 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.00526, allocations: 33.69 kB / 0.9561 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/0.005296, allocations: 96.09 kB / 0.9562 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.005313, allocations: 3.953 kB / 0.9562 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.005347, allocations: 29.73 kB / 0.9562 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.927e-05/0.005416, allocations: 326.8 kB / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.005521, allocations: 171.3 kB / 0.9567 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.372e-05/0.005615, allocations: 163.3 kB / 0.9568 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.005792, allocations: 281.8 kB / 0.9571 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.005794, allocations: 0 / 0.9571 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002466/0.006041, allocations: 392.2 kB / 0.9575 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.006079, allocations: 73.72 kB / 0.9576 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.006083, allocations: 0 / 0.9576 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.006093, allocations: 4 kB / 0.9576 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.824e-06/0.006095, allocations: 3.938 kB / 0.9576 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.0061, allocations: 4.062 kB / 0.9576 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.452e-05/0.006194, allocations: 11.89 kB / 0.9576 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.006205, allocations: 15.94 kB / 0.9576 GB, free: 12.64 MB / 0.9167 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.546e-05/0.006271, allocations: 147.5 kB / 0.9577 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-06/0.006279, allocations: 7.953 kB / 0.9577 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.139e-05/0.006291, allocations: 8.328 kB / 0.9578 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.006292, allocations: 4 kB / 0.9578 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.006297, allocations: 7.875 kB / 0.9578 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.006299, allocations: 0 / 0.9578 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.943e-05/0.006359, allocations: 121.3 kB / 0.9579 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.006359, allocations: 4 kB / 0.9579 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-06/0.006361, allocations: 7.922 kB / 0.9579 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.006362, allocations: 0 / 0.9579 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.006369, allocations: 0 / 0.9579 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.00637, allocations: 4 kB / 0.9579 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.00637, allocations: 0 / 0.9579 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.006551, allocations: 256.3 kB / 0.9581 GB, free: 12 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-06/0.00656, allocations: 11.95 kB / 0.9581 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.006572, allocations: 0 / 0.9581 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.703e-05/0.006599, allocations: 4 kB / 0.9582 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.006653, allocations: 15.86 kB / 0.9582 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.006658, allocations: 8.031 kB / 0.9582 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.265e-05/0.0067, allocations: 107.2 kB / 0.9583 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.0067, allocations: 0 / 0.9583 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000179/0.006879, allocations: 63.92 kB / 0.9583 GB, free: 11.79 MB / 0.9167 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.0001728/0.007052, allocations: 159.1 kB / 0.9585 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002746/0.007327, allocations: 419.7 kB / 0.9589 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.007329, allocations: 0 / 0.9589 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.007411, allocations: 153 kB / 0.959 GB, free: 11 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/0.007515, allocations: 8.125 kB / 0.959 GB, free: 11 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.007791, allocations: 272.9 kB / 0.9593 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.607e-05/0.007837, allocations: 79.27 kB / 0.9594 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.065e-05/0.007848, allocations: 8.5 kB / 0.9594 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of SimCode: time 4.41e-07/0.007848, allocations: 0 / 0.9594 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of Templates: time 0.002235/0.01008, allocations: 1.701 MB / 0.961 GB, free: 8.891 MB / 0.9167 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 6.636044479906559]