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.0009555/0.0009555, allocations: 81.95 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.001015/0.001015, allocations: 165.4 kB / 24.87 MB, free: 9.281 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.9401/0.9401, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.712/1.712, allocations: 359 MB / 0.6063 GB, free: 10.9 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.352e-06/1.352e-06, allocations: 0 / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.21e-05/1.346e-05, allocations: 2.312 kB / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001017/0.001031, allocations: 0.6324 MB / 0.789 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.002317, allocations: 1.413 MB / 0.7904 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.002343, allocations: 0 / 0.7904 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.152e-05/0.002394, allocations: 9.031 kB / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.265e-05/0.002437, allocations: 3.984 kB / 0.7904 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004722/0.002909, allocations: 181.5 kB / 0.7906 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.42e-05/0.002993, allocations: 51.89 kB / 0.7906 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.891e-05/0.003022, allocations: 5.172 kB / 0.7906 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.258e-05/0.003065, allocations: 19.98 kB / 0.7906 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.413e-05/0.003109, allocations: 19.97 kB / 0.7906 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.00312, allocations: 4.594 kB / 0.7907 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002479/0.003368, allocations: 224.3 kB / 0.7909 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.0034, allocations: 8 kB / 0.7909 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.003425, allocations: 20.8 kB / 0.7909 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.003654, allocations: 227.5 kB / 0.7911 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.003656, allocations: 0 / 0.7911 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003657, allocations: 1.531 kB / 0.7911 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.003661, allocations: 0 / 0.7911 GB, free: 9.352 MB / 0.7448 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.0002954/0.003956, allocations: 471.5 kB / 0.7916 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.003988, allocations: 8.031 kB / 0.7916 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.004019, allocations: 9.953 kB / 0.7916 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.506e-05/0.004094, allocations: 126.7 kB / 0.7917 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.004103, allocations: 1.031 kB / 0.7917 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.844e-06/0.004111, allocations: 4.375 kB / 0.7917 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.376e-05/0.004204, allocations: 98.61 kB / 0.7918 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-06/0.00421, allocations: 192 / 0.7918 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.004216, allocations: 4.375 kB / 0.7918 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.004221, allocations: 3.938 kB / 0.7918 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.836e-05/0.004259, allocations: 61.67 kB / 0.7919 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.038e-05/0.00434, allocations: 113.2 kB / 0.792 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.212e-05/0.004402, allocations: 84.73 kB / 0.7921 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.004443, allocations: 70.97 kB / 0.7921 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-06/0.004446, allocations: 3.984 kB / 0.7921 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.004465, allocations: 37.39 kB / 0.7922 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 6.21e-07/0.004466, allocations: 3.938 kB / 0.7922 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002135/0.00468, allocations: 231.2 kB / 0.7924 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.004713, allocations: 85.81 kB / 0.7925 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.511e-05/0.004798, allocations: 205.7 kB / 0.7927 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.00481, allocations: 30.23 kB / 0.7927 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.004849, allocations: 140.5 kB / 0.7928 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.004866, allocations: 11.89 kB / 0.7928 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.004902, allocations: 35.36 kB / 0.7929 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.706e-05/0.004999, allocations: 0.4923 MB / 0.7934 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.79e-05/0.005057, allocations: 99.38 kB / 0.7934 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.539e-05/0.005112, allocations: 112 kB / 0.7936 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.005215, allocations: 177.4 kB / 0.7937 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.005217, allocations: 0 / 0.7937 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000163/0.00538, allocations: 277 kB / 0.794 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.005416, allocations: 73.11 kB / 0.7941 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.005421, allocations: 1.062 kB / 0.7941 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.005433, allocations: 0 / 0.7941 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.005433, allocations: 0 / 0.7941 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.005436, allocations: 1.375 kB / 0.7941 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.158e-05/0.005498, allocations: 15.88 kB / 0.7941 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.005509, allocations: 7.984 kB / 0.7941 GB, free: 5.988 MB / 0.7448 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 7.52e-05/0.005584, allocations: 184.1 kB / 0.7943 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.005598, allocations: 11.95 kB / 0.7943 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.491e-05/0.005613, allocations: 8.344 kB / 0.7943 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.005617, allocations: 3.984 kB / 0.7943 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.005619, allocations: 1.562 kB / 0.7943 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.005622, allocations: 7.938 kB / 0.7943 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.005756, allocations: 109.2 kB / 0.7944 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.005756, allocations: 0 / 0.7944 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.005757, allocations: 0 / 0.7944 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.005758, allocations: 0.9688 kB / 0.7944 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.005764, allocations: 4 kB / 0.7944 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.005764, allocations: 2.094 kB / 0.7944 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.005765, allocations: 0 / 0.7944 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.005913, allocations: 219.7 kB / 0.7946 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.005921, allocations: 7.953 kB / 0.7946 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.00593, allocations: 7.938 kB / 0.7946 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.315e-05/0.005954, allocations: 4 kB / 0.7946 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.005987, allocations: 6.25 kB / 0.7946 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.005991, allocations: 4 kB / 0.7946 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.105e-05/0.006032, allocations: 143.1 kB / 0.7948 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006032, allocations: 0 / 0.7948 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001764/0.006208, allocations: 67.88 kB / 0.7948 GB, free: 5.137 MB / 0.7448 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.0001648/0.006373, allocations: 156.2 kB / 0.795 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001996/0.006573, allocations: 329.3 kB / 0.7953 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.006574, allocations: 0 / 0.7953 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.514e-05/0.006639, allocations: 128.8 kB / 0.7954 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.738e-05/0.006737, allocations: 13.94 kB / 0.7954 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000214/0.006951, allocations: 219 kB / 0.7956 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.893e-05/0.00698, allocations: 67.33 kB / 0.7957 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.178e-06/0.006984, allocations: 0 / 0.7957 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.007043, allocations: 82.2 kB / 0.7958 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.007044, allocations: 0 / 0.7958 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of Templates: time 0.003507/0.01055, allocations: 2.47 MB / 0.7982 GB, free: 1.598 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.822710942942649]