Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.0008663/0.0008663, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001077/0.001943, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00072/0.00072, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009524/0.001672, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.912/0.912, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0857/0.9977, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.376/2.376, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2614/2.638, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.8184 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.334e-05, allocations: 10.25 kB / 0.8184 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001219/0.001233, allocations: 0.6717 MB / 0.819 GB, free: 2.164 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.002616, allocations: 1.365 MB / 0.8204 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.565e-05/0.002632, allocations: 0 / 0.8204 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.258e-06/0.002636, allocations: 0 / 0.8204 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.416e-06/0.002645, allocations: 7.938 kB / 0.8204 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.002869, allocations: 75.66 kB / 0.8204 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.382e-05/0.002923, allocations: 15.94 kB / 0.8205 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.002961, allocations: 7.984 kB / 0.8205 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.574e-05/0.003007, allocations: 11.98 kB / 0.8205 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.181e-05/0.003068, allocations: 15.97 kB / 0.8205 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.003079, allocations: 0 / 0.8205 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.003313, allocations: 123.8 kB / 0.8206 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.003324, allocations: 8 kB / 0.8206 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.573e-05/0.00334, allocations: 4 kB / 0.8206 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.006156/0.009496, allocations: 71.81 kB / 0.8207 GB, free: 456 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.245e-05/0.009509, allocations: 3.938 kB / 0.8207 GB, free: 452 kB / 0.7917 GB Notification: Performance of FrontEnd: time 6.01e-07/0.009509, allocations: 0 / 0.8207 GB, free: 452 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.009519, allocations: 0 / 0.8207 GB, free: 452 kB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003471/0.009866, allocations: 272.4 kB / 0.8209 GB, free: 156 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.009897, allocations: 8.625 kB / 0.821 GB, free: 148 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.009927, allocations: 8.938 kB / 0.821 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.834e-05/0.009995, allocations: 105.8 kB / 0.8211 GB, free: 8 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.01, allocations: 4.375 kB / 0.8211 GB, free: 4 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.01003, allocations: 4.375 kB / 0.8211 GB, free: 0 / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.01014, allocations: 72.02 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.01015, allocations: 192 / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.01015, allocations: 8.359 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.01016, allocations: 3.938 kB / 0.8212 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.267e-05/0.0102, allocations: 19.92 kB / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.238e-05/0.0103, allocations: 72.91 kB / 0.8212 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.269e-05/0.01039, allocations: 42.56 kB / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.01041, allocations: 16.86 kB / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001744/0.01059, allocations: 52.17 kB / 0.8213 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.01061, allocations: 30.56 kB / 0.8214 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.01061, allocations: 0 / 0.8214 GB, free: 15.64 MB / 0.8073 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.03639/0.047, allocations: 8.594 MB / 0.8298 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.04703, allocations: 51.41 kB / 0.8298 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.701e-05/0.04707, allocations: 102.7 kB / 0.8299 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.159e-05/0.04716, allocations: 29.7 kB / 0.8299 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.919e-05/0.04718, allocations: 80.14 kB / 0.83 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.04729, allocations: 59.48 kB / 0.8301 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002862/0.04758, allocations: 61.58 kB / 0.8301 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.437e-05/0.04766, allocations: 318.8 kB / 0.8304 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006597/0.04832, allocations: 0.664 MB / 0.8311 GB, free: 5.535 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000661/0.04899, allocations: 0.668 MB / 0.8317 GB, free: 4.867 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.05023, allocations: 1.444 MB / 0.8332 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.05023, allocations: 0 / 0.8332 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001169/0.0514, allocations: 1.423 MB / 0.8345 GB, free: 1.992 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.05142, allocations: 11.92 kB / 0.8346 GB, free: 1.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.05142, allocations: 0 / 0.8346 GB, free: 1.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.05144, allocations: 4 kB / 0.8346 GB, free: 1.977 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006936/0.05213, allocations: 119.8 kB / 0.8347 GB, free: 1.859 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.05213, allocations: 4 kB / 0.8347 GB, free: 1.855 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.05242, allocations: 8 kB / 0.8347 GB, free: 1.848 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.548e-05/0.05249, allocations: 23.94 kB / 0.8347 GB, free: 1.824 MB / 0.8073 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 (18): * Single equations (assignments): 18 * 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 0.0004255/0.05292, allocations: 121.7 kB / 0.8348 GB, free: 1.695 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.05306, allocations: 15.92 kB / 0.8348 GB, free: 1.68 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003364/0.05642, allocations: 1.973 MB / 0.8368 GB, free: 15.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.05643, allocations: 12 kB / 0.8368 GB, free: 15.68 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.05643, allocations: 0 / 0.8368 GB, free: 15.68 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.05644, allocations: 7.969 kB / 0.8368 GB, free: 15.68 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.05846, allocations: 1.866 MB / 0.8386 GB, free: 13.78 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.05847, allocations: 0 / 0.8386 GB, free: 13.78 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007785/0.05924, allocations: 203.8 kB / 0.8388 GB, free: 13.58 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.05926, allocations: 35.72 kB / 0.8388 GB, free: 13.55 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.05927, allocations: 4 kB / 0.8388 GB, free: 13.54 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.333e-05/0.05933, allocations: 15.98 kB / 0.8389 GB, free: 13.53 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.05933, allocations: 4.031 kB / 0.8389 GB, free: 13.52 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.05934, allocations: 4 kB / 0.8389 GB, free: 13.52 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.06086, allocations: 1.656 MB / 0.8405 GB, free: 11.84 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.991e-05/0.06096, allocations: 15.98 kB / 0.8405 GB, free: 11.83 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.06127, allocations: 24 kB / 0.8405 GB, free: 11.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.06141, allocations: 52.89 kB / 0.8406 GB, free: 11.75 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.746e-05/0.06148, allocations: 15.98 kB / 0.8406 GB, free: 11.74 MB / 0.823 GB Notification: Performance of sorting global known variables: time 7.294e-06/0.06149, allocations: 8.859 kB / 0.8406 GB, free: 11.73 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.06149, allocations: 0 / 0.8406 GB, free: 11.73 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004297/0.06191, allocations: 259.7 kB / 0.8408 GB, free: 11.47 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (y_comp) * 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 (89): * Single equations (assignments): 89 * 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.0003495/0.06226, allocations: 248 kB / 0.8411 GB, free: 11.22 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.06358, allocations: 1.236 MB / 0.8423 GB, free: 9.988 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/0.06359, allocations: 7.984 kB / 0.8423 GB, free: 9.98 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004996/0.06409, allocations: 0.5551 MB / 0.8428 GB, free: 9.418 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.06434, allocations: 59.92 kB / 0.8429 GB, free: 9.359 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.06665, allocations: 1.112 MB / 0.844 GB, free: 8.219 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.437e-05/0.06671, allocations: 104 kB / 0.8441 GB, free: 8.098 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001582/0.06829, allocations: 0.7131 MB / 0.8448 GB, free: 7.387 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009952/0.06929, allocations: 131.3 kB / 0.8449 GB, free: 7.258 MB / 0.823 GB Notification: Performance of SimCode: time 9.12e-07/0.06929, allocations: 0 / 0.8449 GB, free: 7.258 MB / 0.823 GB Notification: Performance of Templates: time 0.02272/0.09201, allocations: 25.95 MB / 0.8702 GB, free: 13.31 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.ref.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.390648053959012]