Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001332/0.001332, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001065/0.001065, allocations: 167.9 kB / 24.87 MB, free: 8.867 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.9262/0.9262, allocations: 177.1 MB / 205.3 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.881/1.881, allocations: 377.9 MB / 0.6247 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8128 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.789e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001875/0.001903, allocations: 0.6281 MB / 0.8135 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002316/0.004219, allocations: 1.417 MB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.004255, allocations: 0 / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.157e-05/0.004316, allocations: 3.938 kB / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.621e-05/0.004362, allocations: 6.438 kB / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007256/0.005088, allocations: 179.5 kB / 0.815 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.005205, allocations: 44.77 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.005243, allocations: 4 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.756e-05/0.0053, allocations: 29.02 kB / 0.8151 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.353e-05/0.005364, allocations: 23.97 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.005379, allocations: 7.938 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003978/0.005776, allocations: 213.1 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.005815, allocations: 12 kB / 0.8153 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.005849, allocations: 15.92 kB / 0.8153 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.00617, allocations: 231.4 kB / 0.8156 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.006174, allocations: 5.938 kB / 0.8156 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.082e-06/0.006175, allocations: 0 / 0.8156 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.006182, allocations: 3.984 kB / 0.8156 GB, free: 14.58 MB / 0.7761 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.0004072/0.006589, allocations: 463.5 kB / 0.816 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.006627, allocations: 12.03 kB / 0.816 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.006672, allocations: 10.45 kB / 0.816 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.006775, allocations: 116.5 kB / 0.8162 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.006789, allocations: 4.375 kB / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.006801, allocations: 4.359 kB / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.006945, allocations: 104.9 kB / 0.8163 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.006952, allocations: 192 / 0.8163 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.00696, allocations: 384 / 0.8163 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.006966, allocations: 4.469 kB / 0.8163 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.106e-05/0.007037, allocations: 62.2 kB / 0.8163 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.007153, allocations: 109.2 kB / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.007254, allocations: 85.78 kB / 0.8165 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.14e-05/0.007326, allocations: 69.44 kB / 0.8166 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-06/0.00733, allocations: 0.6875 kB / 0.8166 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.007357, allocations: 41.33 kB / 0.8166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.007358, allocations: 4.469 kB / 0.8166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0003079/0.007666, allocations: 232 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.007709, allocations: 77.11 kB / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.007844, allocations: 215.6 kB / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.00786, allocations: 25.7 kB / 0.8171 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.007916, allocations: 140 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.007942, allocations: 15.89 kB / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.767e-05/0.007999, allocations: 39.34 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.008137, allocations: 493.1 kB / 0.8178 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.008239, allocations: 107.4 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.906e-05/0.008329, allocations: 104.2 kB / 0.818 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.008504, allocations: 188.7 kB / 0.8182 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.008507, allocations: 0.8438 kB / 0.8182 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002773/0.008784, allocations: 268.3 kB / 0.8184 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/0.008839, allocations: 72.67 kB / 0.8185 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.008844, allocations: 0 / 0.8185 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.008856, allocations: 7.984 kB / 0.8185 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.008857, allocations: 0 / 0.8185 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-06/0.00886, allocations: 0.8438 kB / 0.8185 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.776e-05/0.008948, allocations: 11.88 kB / 0.8185 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.008962, allocations: 4.875 kB / 0.8185 GB, free: 11.23 MB / 0.7761 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.0001062/0.009068, allocations: 190.3 kB / 0.8187 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.00909, allocations: 9.516 kB / 0.8187 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.535e-05/0.009105, allocations: 12.28 kB / 0.8187 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.009108, allocations: 0 / 0.8187 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.009109, allocations: 0 / 0.8187 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.009114, allocations: 5.125 kB / 0.8187 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.338e-05/0.009207, allocations: 113.2 kB / 0.8189 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.00921, allocations: 4 kB / 0.8189 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-06/0.009211, allocations: 3.156 kB / 0.8189 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.009213, allocations: 0 / 0.8189 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.009224, allocations: 4 kB / 0.8189 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.009226, allocations: 0 / 0.8189 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.009229, allocations: 3.984 kB / 0.8189 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.009472, allocations: 215.7 kB / 0.8191 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.009484, allocations: 7.953 kB / 0.8191 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.0095, allocations: 4.078 kB / 0.8191 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.863e-05/0.009548, allocations: 4 kB / 0.8191 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.009596, allocations: 12.47 kB / 0.8191 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.009603, allocations: 1.344 kB / 0.8191 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.549e-05/0.009669, allocations: 143.8 kB / 0.8192 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.009669, allocations: 3.938 kB / 0.8192 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003189/0.009988, allocations: 68.95 kB / 0.8193 GB, free: 10.37 MB / 0.7761 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.0002902/0.01028, allocations: 155.2 kB / 0.8195 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003227/0.0106, allocations: 328.1 kB / 0.8198 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.0106, allocations: 2.469 kB / 0.8198 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.01072, allocations: 132.8 kB / 0.8199 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.01088, allocations: 8 kB / 0.8199 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.01121, allocations: 216.4 kB / 0.8201 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.228e-05/0.01125, allocations: 59.34 kB / 0.8202 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.58e-06/0.01126, allocations: 2.969 kB / 0.8202 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.0114, allocations: 82.2 kB / 0.8202 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of SimCode: time 1.513e-06/0.0114, allocations: 0 / 0.8202 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.004298/0.0157, allocations: 2.468 MB / 0.8227 GB, free: 6.84 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.160813442897052]