Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001431/0.001431, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001781/0.001781, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9433/0.9433, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.33/2.33, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.676e-05, allocations: 5.547 kB / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0009864/0.001003, allocations: 0.6148 MB / 0.8904 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.002233, allocations: 1.307 MB / 0.8917 GB, free: 7.785 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.002252, allocations: 4 kB / 0.8917 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.002266, allocations: 0 / 0.8917 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.711e-06/0.002272, allocations: 0 / 0.8917 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.002564, allocations: 71.67 kB / 0.8918 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.67e-05/0.002601, allocations: 4 kB / 0.8918 GB, free: 7.707 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.149e-05/0.002632, allocations: 4 kB / 0.8918 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.462e-05/0.002657, allocations: 3.938 kB / 0.8918 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.965e-05/0.002696, allocations: 0 / 0.8918 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.386e-06/0.002705, allocations: 0 / 0.8918 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.002923, allocations: 111.9 kB / 0.8919 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.706e-06/0.002932, allocations: 4 kB / 0.8919 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.397e-06/0.002941, allocations: 0 / 0.8919 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.003055, allocations: 75.73 kB / 0.8919 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003057, allocations: 0 / 0.8919 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003058, allocations: 0 / 0.8919 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.003061, allocations: 0 / 0.8919 GB, free: 7.512 MB / 0.8542 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.0002263/0.003288, allocations: 360.2 kB / 0.8923 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.003323, allocations: 8.625 kB / 0.8923 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.091e-05/0.003344, allocations: 1.281 kB / 0.8923 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.166e-05/0.003396, allocations: 108.6 kB / 0.8924 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.003404, allocations: 4.375 kB / 0.8924 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-06/0.003409, allocations: 384 / 0.8924 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.673e-05/0.003466, allocations: 30.25 kB / 0.8924 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.003472, allocations: 4.188 kB / 0.8924 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.489e-06/0.003476, allocations: 384 / 0.8924 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.003482, allocations: 3.938 kB / 0.8924 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.518e-06/0.003491, allocations: 11.88 kB / 0.8925 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.642e-05/0.003568, allocations: 93.27 kB / 0.8925 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 2.8e-05/0.003596, allocations: 23.06 kB / 0.8926 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.008e-05/0.003606, allocations: 7.688 kB / 0.8926 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/0.003795, allocations: 48.05 kB / 0.8926 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.003816, allocations: 41.39 kB / 0.8927 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.003817, allocations: 0 / 0.8927 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 8.304e-05/0.0039, allocations: 37.59 kB / 0.8927 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.003922, allocations: 51.41 kB / 0.8927 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.723e-05/0.003959, allocations: 146.2 kB / 0.8929 GB, free: 6.402 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.003967, allocations: 25.7 kB / 0.8929 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.593e-05/0.003993, allocations: 131 kB / 0.893 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.004014, allocations: 0 / 0.893 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/0.004033, allocations: 19.38 kB / 0.893 GB, free: 6.211 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.004137, allocations: 0.4883 MB / 0.8935 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-06/0.004142, allocations: 0 / 0.8935 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-06/0.004146, allocations: 4 kB / 0.8935 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.173e-05/0.004168, allocations: 11.69 kB / 0.8935 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.00417, allocations: 4 kB / 0.8935 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.062e-05/0.0042, allocations: 33.64 kB / 0.8936 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.00421, allocations: 4.094 kB / 0.8936 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.004215, allocations: 4 kB / 0.8936 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.004225, allocations: 0 / 0.8936 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.043e-05/0.004255, allocations: 7.984 kB / 0.8936 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.004258, allocations: 0 / 0.8936 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.987e-06/0.004267, allocations: 7.922 kB / 0.8936 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-06/0.004271, allocations: 0 / 0.8936 GB, free: 5.625 MB / 0.8542 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.029e-05/0.004321, allocations: 156.6 kB / 0.8937 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-06/0.004324, allocations: 0 / 0.8937 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.496e-05/0.004379, allocations: 36.7 kB / 0.8938 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.41e-07/0.004379, allocations: 0 / 0.8938 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.004381, allocations: 3.938 kB / 0.8938 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.004384, allocations: 3.984 kB / 0.8938 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.975e-05/0.004434, allocations: 101.2 kB / 0.8939 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.004434, allocations: 0 / 0.8939 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.05e-06/0.004439, allocations: 0 / 0.8939 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.004441, allocations: 7.938 kB / 0.8939 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-06/0.004444, allocations: 0 / 0.8939 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.21e-07/0.004444, allocations: 0 / 0.8939 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.5e-07/0.004444, allocations: 0 / 0.8939 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.166e-05/0.004486, allocations: 76.41 kB / 0.894 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-06/0.004489, allocations: 0 / 0.894 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.96e-06/0.004494, allocations: 0 / 0.894 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.218e-06/0.004498, allocations: 4 kB / 0.894 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-06/0.004506, allocations: 0 / 0.894 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.52e-07/0.004507, allocations: 4 kB / 0.894 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.539e-05/0.004533, allocations: 119.2 kB / 0.8941 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.004533, allocations: 0 / 0.8941 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001183/0.004651, allocations: 15.88 kB / 0.8941 GB, free: 5.039 MB / 0.8542 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.0001043/0.004755, allocations: 119.2 kB / 0.8942 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.216e-05/0.004798, allocations: 11.69 kB / 0.8942 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.004799, allocations: 0 / 0.8942 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.384e-06/0.004806, allocations: 11.67 kB / 0.8942 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.841e-05/0.004884, allocations: 7.938 kB / 0.8942 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001228/0.005007, allocations: 79.97 kB / 0.8943 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.409e-05/0.005031, allocations: 55.36 kB / 0.8944 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.386e-05/0.005045, allocations: 8.125 kB / 0.8944 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.005069, allocations: 66.2 kB / 0.8944 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of SimCode: time 3.31e-07/0.00507, allocations: 0 / 0.8944 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of Templates: time 0.001561/0.006631, allocations: 472.3 kB / 0.8949 GB, free: 4.152 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.202436723280698]