Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.001373/0.001373, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001617/0.001617, allocations: 165 kB / 23.82 MB, free: 0.75 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.9567/0.9567, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.675/1.675, allocations: 359 MB / 0.6052 GB, free: 11 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.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.574e-05, allocations: 3.312 kB / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001282/0.001308, allocations: 0.598 MB / 0.7877 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.002624, allocations: 1.321 MB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.595e-05/0.00264, allocations: 0 / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.755e-05/0.002658, allocations: 0.8438 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.141e-06/0.002664, allocations: 0 / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.00304, allocations: 76.23 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.562e-05/0.003086, allocations: 4.688 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.003121, allocations: 0 / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.325e-05/0.003144, allocations: 4.844 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.789e-05/0.003182, allocations: 0 / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.003194, allocations: 4.656 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.003444, allocations: 107.9 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.576e-06/0.003452, allocations: 0.7188 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.513e-05/0.003467, allocations: 0 / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.0036, allocations: 77.45 kB / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.003602, allocations: 0 / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.974e-06/0.003604, allocations: 3.984 kB / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.003609, allocations: 0 / 0.7893 GB, free: 10.24 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002578/0.003867, allocations: 349.6 kB / 0.7896 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.003903, allocations: 8.031 kB / 0.7896 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.003941, allocations: 8.922 kB / 0.7896 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.95e-05/0.004, allocations: 112.6 kB / 0.7898 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.004011, allocations: 1.969 kB / 0.7898 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.004019, allocations: 4.375 kB / 0.7898 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.842e-05/0.004098, allocations: 34.25 kB / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.004104, allocations: 192 / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.004111, allocations: 1.062 kB / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.004118, allocations: 11.28 kB / 0.7898 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.288e-05/0.004131, allocations: 0 / 0.7898 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.073e-05/0.004222, allocations: 108.6 kB / 0.7899 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.815e-05/0.00426, allocations: 30.98 kB / 0.7899 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.004277, allocations: 15.78 kB / 0.79 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/0.004526, allocations: 35.97 kB / 0.79 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.004551, allocations: 37.92 kB / 0.79 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.004552, allocations: 0.5312 kB / 0.79 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001159/0.004668, allocations: 30.58 kB / 0.7901 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.004696, allocations: 59.33 kB / 0.7901 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.292e-05/0.004729, allocations: 147 kB / 0.7903 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.004738, allocations: 25.7 kB / 0.7903 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.57e-05/0.004764, allocations: 131.4 kB / 0.7904 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.004792, allocations: 0 / 0.7904 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.004815, allocations: 20.75 kB / 0.7904 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.004912, allocations: 492.1 kB / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-06/0.004922, allocations: 4 kB / 0.7909 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-06/0.004928, allocations: 1.156 kB / 0.7909 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.822e-05/0.004956, allocations: 11.69 kB / 0.7909 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.004958, allocations: 0.75 kB / 0.7909 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.168e-05/0.005, allocations: 33.69 kB / 0.7909 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.005012, allocations: 4.625 kB / 0.7909 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.005017, allocations: 5.312 kB / 0.7909 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.005027, allocations: 3.938 kB / 0.791 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.627e-05/0.005073, allocations: 0 / 0.791 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.005079, allocations: 3.938 kB / 0.791 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.695e-06/0.005086, allocations: 0.625 kB / 0.791 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.005093, allocations: 4 kB / 0.791 GB, free: 8.352 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 5.561e-05/0.005149, allocations: 158.9 kB / 0.7911 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-06/0.005153, allocations: 352 / 0.7911 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.965e-05/0.005232, allocations: 44.67 kB / 0.7912 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.005234, allocations: 3.375 kB / 0.7912 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.005238, allocations: 0 / 0.7912 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.005241, allocations: 3.938 kB / 0.7912 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.203e-05/0.005293, allocations: 108.6 kB / 0.7913 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.005294, allocations: 0 / 0.7913 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.005306, allocations: 7.938 kB / 0.7913 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.005309, allocations: 3.984 kB / 0.7913 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.005316, allocations: 4 kB / 0.7913 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.005317, allocations: 0 / 0.7913 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.005318, allocations: 4.906 kB / 0.7913 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.088e-05/0.005369, allocations: 68.39 kB / 0.7914 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-06/0.005372, allocations: 0.5 kB / 0.7914 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-06/0.005381, allocations: 8.562 kB / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.939e-06/0.005386, allocations: 3.984 kB / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.301e-05/0.005399, allocations: 0.5625 kB / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.005401, allocations: 1.25 kB / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.005435, allocations: 123.1 kB / 0.7915 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005435, allocations: 0 / 0.7915 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001329/0.005568, allocations: 11.94 kB / 0.7915 GB, free: 7.738 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0001369/0.005705, allocations: 117.3 kB / 0.7916 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.702e-05/0.005772, allocations: 15.62 kB / 0.7916 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.005773, allocations: 0 / 0.7916 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.123e-06/0.005781, allocations: 12.91 kB / 0.7916 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.088e-05/0.005871, allocations: 0 / 0.7916 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001764/0.006048, allocations: 92.75 kB / 0.7917 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.859e-05/0.006076, allocations: 51.36 kB / 0.7918 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.802e-05/0.006094, allocations: 0.9375 kB / 0.7918 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.00611, allocations: 13.72 kB / 0.7918 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.006111, allocations: 0 / 0.7918 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of Templates: time 0.002059/0.008169, allocations: 454.1 kB / 0.7922 GB, free: 6.953 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.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.68650052882731]