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.001012/0.001012, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001059/0.001059, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.003/1.003, allocations: 177.2 MB / 203.8 MB, free: 5.477 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 2.46/2.46, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/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: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.852e-05, allocations: 5.969 kB / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001265/0.001284, allocations: 0.6785 MB / 0.8393 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.002817, allocations: 1.427 MB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.681e-05/0.002844, allocations: 0 / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 5.652e-05/0.0029, allocations: 0 / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.624e-05/0.002947, allocations: 3.938 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008407/0.003787, allocations: 159.5 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.003891, allocations: 51.95 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.279e-05/0.003923, allocations: 4 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.985e-05/0.003973, allocations: 23.91 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.004026, allocations: 23.97 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.004038, allocations: 0 / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003163/0.004354, allocations: 239.6 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.004393, allocations: 15.92 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.00442, allocations: 19.88 kB / 0.8413 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.004638, allocations: 227.5 kB / 0.8415 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.00464, allocations: 0 / 0.8415 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.41e-07/0.004641, allocations: 4 kB / 0.8415 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.016e-06/0.004644, allocations: 0 / 0.8415 GB, free: 11.23 MB / 0.8073 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.0002785/0.004922, allocations: 351.8 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.004951, allocations: 8.625 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.00498, allocations: 4.938 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.202e-05/0.005062, allocations: 121.7 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.005073, allocations: 4.312 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.005082, allocations: 4.375 kB / 0.842 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.005189, allocations: 94.75 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.005196, allocations: 192 / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-06/0.005202, allocations: 4.375 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.00521, allocations: 11.92 kB / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.286e-05/0.005253, allocations: 61.67 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.54e-05/0.005319, allocations: 59.88 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.792e-05/0.005387, allocations: 80.23 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.005427, allocations: 66.62 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-06/0.005429, allocations: 0 / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.005449, allocations: 34.56 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 5.81e-07/0.00545, allocations: 0 / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001757/0.005626, allocations: 210.7 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.005657, allocations: 81.14 kB / 0.8426 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.928e-05/0.005737, allocations: 152.2 kB / 0.8428 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.005747, allocations: 25.7 kB / 0.8428 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.817e-05/0.005775, allocations: 96.06 kB / 0.8429 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.005792, allocations: 7.906 kB / 0.8429 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.005826, allocations: 33.62 kB / 0.8429 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.986e-05/0.005896, allocations: 318.8 kB / 0.8432 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.694e-05/0.005963, allocations: 110.1 kB / 0.8433 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.492e-05/0.006018, allocations: 103.4 kB / 0.8434 GB, free: 9 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.006132, allocations: 188.6 kB / 0.8436 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.006134, allocations: 0 / 0.8436 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001479/0.006282, allocations: 256.4 kB / 0.8439 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.006319, allocations: 71.38 kB / 0.8439 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.006324, allocations: 3.984 kB / 0.8439 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.006335, allocations: 0 / 0.8439 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.006336, allocations: 0 / 0.8439 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.00634, allocations: 3.938 kB / 0.8439 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.112e-05/0.006401, allocations: 11.88 kB / 0.8439 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.006409, allocations: 4 kB / 0.8439 GB, free: 8.406 MB / 0.8073 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.763e-05/0.006477, allocations: 154.3 kB / 0.8441 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.006487, allocations: 8 kB / 0.8441 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.06e-05/0.006497, allocations: 8.375 kB / 0.8441 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.006499, allocations: 0 / 0.8441 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.0065, allocations: 0 / 0.8441 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.006502, allocations: 0 / 0.8441 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.349e-05/0.006556, allocations: 77.78 kB / 0.8442 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.006556, allocations: 0 / 0.8442 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-07/0.006557, allocations: 0 / 0.8442 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.006559, allocations: 4 kB / 0.8442 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.006564, allocations: 0 / 0.8442 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.006566, allocations: 3.984 kB / 0.8442 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.006566, allocations: 0 / 0.8442 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.006691, allocations: 206 kB / 0.8444 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.006698, allocations: 3.984 kB / 0.8444 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.006709, allocations: 4 kB / 0.8444 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.993e-05/0.006729, allocations: 4 kB / 0.8444 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.006763, allocations: 0 / 0.8444 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.006768, allocations: 8 kB / 0.8444 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.917e-05/0.006787, allocations: 23.97 kB / 0.8444 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006788, allocations: 0 / 0.8444 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001538/0.006941, allocations: 67.86 kB / 0.8445 GB, free: 7.777 MB / 0.8073 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.000171/0.007112, allocations: 148.3 kB / 0.8446 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001899/0.007302, allocations: 316.6 kB / 0.8449 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.007305, allocations: 4 kB / 0.8449 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.398e-05/0.007369, allocations: 124.8 kB / 0.8451 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.927e-05/0.007428, allocations: 11.94 kB / 0.8451 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002351/0.007664, allocations: 209.7 kB / 0.8453 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.154e-05/0.007705, allocations: 63.34 kB / 0.8453 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.53e-06/0.007711, allocations: 0 / 0.8453 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.663e-05/0.007797, allocations: 63.38 kB / 0.8454 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of SimCode: time 7.01e-07/0.007798, allocations: 128 / 0.8454 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of Templates: time 0.004316/0.01211, allocations: 2.39 MB / 0.8477 GB, free: 4.344 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.438122156076133]