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.001173/0.001173, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001023/0.001023, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9982/0.9982, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.859/1.859, allocations: 359 MB / 0.6052 GB, free: 11.02 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.543e-06/1.543e-06, allocations: 0.9844 kB / 0.7871 GB, free: 11.34 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.515e-05, allocations: 5.578 kB / 0.7871 GB, free: 11.33 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001329/0.001354, allocations: 0.6044 MB / 0.7877 GB, free: 10.75 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.002612, allocations: 1.312 MB / 0.789 GB, free: 9.418 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.461e-05/0.002626, allocations: 0 / 0.789 GB, free: 9.418 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.002645, allocations: 0 / 0.789 GB, free: 9.418 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.002651, allocations: 0 / 0.789 GB, free: 9.418 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.002966, allocations: 80.17 kB / 0.7891 GB, free: 9.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 3.932e-05/0.003005, allocations: 5.016 kB / 0.7891 GB, free: 9.336 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.446e-05/0.00304, allocations: 4 kB / 0.7891 GB, free: 9.332 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.331e-05/0.003063, allocations: 1.406 kB / 0.7891 GB, free: 9.332 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.68e-05/0.0031, allocations: 0 / 0.7891 GB, free: 9.332 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.003111, allocations: 0 / 0.7891 GB, free: 9.332 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002347/0.003346, allocations: 111.8 kB / 0.7892 GB, free: 9.223 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.486e-06/0.003355, allocations: 2.469 kB / 0.7892 GB, free: 9.223 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.39e-05/0.003368, allocations: 0 / 0.7892 GB, free: 9.223 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.003494, allocations: 75.8 kB / 0.7893 GB, free: 9.148 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003496, allocations: 0 / 0.7893 GB, free: 9.148 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003496, allocations: 0 / 0.7893 GB, free: 9.148 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.0035, allocations: 0 / 0.7893 GB, free: 9.148 MB / 0.698 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.0002459/0.003746, allocations: 356.2 kB / 0.7896 GB, free: 8.766 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.003782, allocations: 9.781 kB / 0.7896 GB, free: 8.758 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.003812, allocations: 0.9375 kB / 0.7896 GB, free: 8.758 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.821e-05/0.00387, allocations: 116.5 kB / 0.7897 GB, free: 8.617 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.003881, allocations: 384 / 0.7897 GB, free: 8.617 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.00389, allocations: 0.9688 kB / 0.7897 GB, free: 8.617 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.418e-05/0.003964, allocations: 30.83 kB / 0.7898 GB, free: 8.582 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.003974, allocations: 192 / 0.7898 GB, free: 8.582 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.003981, allocations: 5.469 kB / 0.7898 GB, free: 8.578 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.003989, allocations: 3.938 kB / 0.7898 GB, free: 8.574 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.324e-05/0.004003, allocations: 3.938 kB / 0.7898 GB, free: 8.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.373e-05/0.004096, allocations: 110.4 kB / 0.7899 GB, free: 8.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.467e-05/0.004131, allocations: 23.06 kB / 0.7899 GB, free: 8.395 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.004147, allocations: 7.688 kB / 0.7899 GB, free: 8.383 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002369/0.004384, allocations: 49.44 kB / 0.79 GB, free: 8.336 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.004403, allocations: 33.39 kB / 0.79 GB, free: 8.293 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.004404, allocations: 0.9688 kB / 0.79 GB, free: 8.293 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001088/0.004513, allocations: 46.33 kB / 0.79 GB, free: 8.242 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.004536, allocations: 55.34 kB / 0.7901 GB, free: 8.176 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.639e-05/0.004572, allocations: 144.8 kB / 0.7902 GB, free: 8.023 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.004581, allocations: 25.7 kB / 0.7903 GB, free: 7.992 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.732e-05/0.004608, allocations: 126.9 kB / 0.7904 GB, free: 7.863 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.004631, allocations: 3.984 kB / 0.7904 GB, free: 7.859 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.004652, allocations: 19.38 kB / 0.7904 GB, free: 7.832 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.004755, allocations: 496.1 kB / 0.7909 GB, free: 7.336 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-06/0.004763, allocations: 0 / 0.7909 GB, free: 7.336 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.641e-06/0.004768, allocations: 4.531 kB / 0.7909 GB, free: 7.332 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.358e-05/0.004792, allocations: 8.406 kB / 0.7909 GB, free: 7.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.004794, allocations: 0 / 0.7909 GB, free: 7.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.359e-05/0.004828, allocations: 39.83 kB / 0.7909 GB, free: 7.277 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.00484, allocations: 7.984 kB / 0.7909 GB, free: 7.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.004843, allocations: 0 / 0.7909 GB, free: 7.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.004857, allocations: 0 / 0.7909 GB, free: 7.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.68e-05/0.004894, allocations: 4 kB / 0.7909 GB, free: 7.266 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.0049, allocations: 8.422 kB / 0.791 GB, free: 7.258 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.352e-06/0.004906, allocations: 0.5938 kB / 0.791 GB, free: 7.258 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.004911, allocations: 0 / 0.791 GB, free: 7.258 MB / 0.698 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.315e-05/0.004964, allocations: 157.4 kB / 0.7911 GB, free: 7.094 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-06/0.004969, allocations: 9.141 kB / 0.7911 GB, free: 7.086 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.005081, allocations: 42 kB / 0.7911 GB, free: 7.035 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-06/0.005084, allocations: 0 / 0.7911 GB, free: 7.035 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.005087, allocations: 0 / 0.7911 GB, free: 7.035 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.005091, allocations: 7.938 kB / 0.7912 GB, free: 7.027 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.529e-05/0.005146, allocations: 105.5 kB / 0.7913 GB, free: 6.891 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005147, allocations: 0 / 0.7913 GB, free: 6.891 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.691e-05/0.005164, allocations: 0 / 0.7913 GB, free: 6.891 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.005166, allocations: 4.781 kB / 0.7913 GB, free: 6.887 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-06/0.00517, allocations: 0 / 0.7913 GB, free: 6.887 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.005172, allocations: 5.219 kB / 0.7913 GB, free: 6.883 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.005174, allocations: 3.984 kB / 0.7913 GB, free: 6.879 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.384e-05/0.005228, allocations: 73.23 kB / 0.7913 GB, free: 6.785 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-06/0.005232, allocations: 4 kB / 0.7913 GB, free: 6.781 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.193e-06/0.005239, allocations: 0 / 0.7913 GB, free: 6.781 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.621e-06/0.005245, allocations: 5.281 kB / 0.7913 GB, free: 6.777 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.005258, allocations: 4 kB / 0.7914 GB, free: 6.773 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.005263, allocations: 3.984 kB / 0.7914 GB, free: 6.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.646e-05/0.005289, allocations: 128.2 kB / 0.7915 GB, free: 6.645 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.005289, allocations: 0 / 0.7915 GB, free: 6.645 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001271/0.005416, allocations: 8 kB / 0.7915 GB, free: 6.637 MB / 0.698 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.0001217/0.005538, allocations: 113 kB / 0.7916 GB, free: 6.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.035e-05/0.005598, allocations: 15.69 kB / 0.7916 GB, free: 6.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.0056, allocations: 0 / 0.7916 GB, free: 6.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.625e-06/0.005607, allocations: 14.16 kB / 0.7916 GB, free: 6.484 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.614e-05/0.005693, allocations: 0 / 0.7916 GB, free: 6.484 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001585/0.005852, allocations: 87.08 kB / 0.7917 GB, free: 6.371 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.899e-05/0.005881, allocations: 55.34 kB / 0.7918 GB, free: 6.297 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.64e-05/0.005897, allocations: 0.5 kB / 0.7918 GB, free: 6.297 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.408e-05/0.005911, allocations: 9.031 kB / 0.7918 GB, free: 6.289 MB / 0.698 GB Notification: Performance of SimCode: time 3.5e-07/0.005912, allocations: 1.938 kB / 0.7918 GB, free: 6.289 MB / 0.698 GB Notification: Performance of Templates: time 0.001751/0.007662, allocations: 428.5 kB / 0.7922 GB, free: 5.887 MB / 0.698 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: 5.129678385797888]