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.001167/0.001167, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002018/0.003185, allocations: 440 kB / 10.41 MB, free: 284 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.001194/0.001194, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001168/0.002362, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9913/0.9913, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09194/1.083, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.4/2.4, allocations: 447.1 MB / 0.675 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2315/2.631, allocations: 146 MB / 0.8176 GB, free: 3.777 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.012e-06/1.012e-06, allocations: 0 / 0.819 GB, free: 2.387 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712e-05/1.813e-05, allocations: 2.312 kB / 0.819 GB, free: 2.383 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001137/0.001155, allocations: 0.6736 MB / 0.8196 GB, free: 1.703 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.002281, allocations: 1.365 MB / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.583e-05/0.002296, allocations: 0 / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.757e-06/0.0023, allocations: 0 / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.532e-06/0.002307, allocations: 3.938 kB / 0.821 GB, free: 324 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.002496, allocations: 79.59 kB / 0.8211 GB, free: 244 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.451e-05/0.00254, allocations: 16 kB / 0.8211 GB, free: 228 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.441e-05/0.002575, allocations: 7.969 kB / 0.8211 GB, free: 220 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.32e-05/0.002618, allocations: 15.92 kB / 0.8211 GB, free: 204 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.094e-05/0.002679, allocations: 11.98 kB / 0.8211 GB, free: 192 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.002692, allocations: 4 kB / 0.8211 GB, free: 188 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.002891, allocations: 123.8 kB / 0.8212 GB, free: 64 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.002907, allocations: 0 / 0.8212 GB, free: 64 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.298e-05/0.00292, allocations: 11.94 kB / 0.8212 GB, free: 52 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.003048, allocations: 71.75 kB / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.003057, allocations: 4 kB / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003057, allocations: 0 / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.003066, allocations: 0 / 0.8213 GB, free: 15.98 MB / 0.8073 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.0003184/0.003385, allocations: 276.3 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/0.003413, allocations: 12.03 kB / 0.8216 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.003437, allocations: 0.9375 kB / 0.8216 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.51e-05/0.003502, allocations: 105.8 kB / 0.8217 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-06/0.003509, allocations: 384 / 0.8217 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.00353, allocations: 4.375 kB / 0.8217 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.825e-05/0.003608, allocations: 83.86 kB / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.003616, allocations: 4.188 kB / 0.8218 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.003623, allocations: 4.375 kB / 0.8218 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.003628, allocations: 3.938 kB / 0.8218 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.495e-05/0.003663, allocations: 15.98 kB / 0.8218 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.527e-05/0.003738, allocations: 65 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.223e-05/0.00381, allocations: 58.59 kB / 0.8219 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.856e-05/0.003829, allocations: 12.86 kB / 0.8219 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.003983, allocations: 47.95 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.004001, allocations: 34.56 kB / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 8.02e-07/0.004002, allocations: 3.938 kB / 0.822 GB, free: 15.16 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.01416/0.01816, allocations: 8.607 MB / 0.8304 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.01819, allocations: 59.34 kB / 0.8305 GB, free: 6.375 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.461e-05/0.01825, allocations: 98.72 kB / 0.8306 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.811e-05/0.01835, allocations: 29.7 kB / 0.8306 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.179e-05/0.01837, allocations: 88.12 kB / 0.8307 GB, free: 6.141 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.01849, allocations: 55.48 kB / 0.8307 GB, free: 6.086 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.01872, allocations: 65.58 kB / 0.8308 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.0188, allocations: 314.8 kB / 0.8311 GB, free: 5.699 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004804/0.01928, allocations: 0.6679 MB / 0.8317 GB, free: 5.031 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005024/0.01978, allocations: 0.6699 MB / 0.8324 GB, free: 4.363 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.021, allocations: 1.438 MB / 0.8338 GB, free: 2.922 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.021, allocations: 0 / 0.8338 GB, free: 2.922 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001192/0.02219, allocations: 1.429 MB / 0.8352 GB, free: 1.488 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.02221, allocations: 11.94 kB / 0.8352 GB, free: 1.477 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.02222, allocations: 4 kB / 0.8352 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.02223, allocations: 0 / 0.8352 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007494/0.02298, allocations: 131.7 kB / 0.8353 GB, free: 1.344 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.02298, allocations: 0 / 0.8353 GB, free: 1.344 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.02328, allocations: 12 kB / 0.8354 GB, free: 1.332 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/0.02336, allocations: 19.94 kB / 0.8354 GB, free: 1.312 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.000194/0.02355, allocations: 113.8 kB / 0.8355 GB, free: 1.191 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.0237, allocations: 11.94 kB / 0.8355 GB, free: 1.18 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003319/0.02702, allocations: 1.981 MB / 0.8374 GB, free: 15.19 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.02702, allocations: 8 kB / 0.8374 GB, free: 15.18 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.02702, allocations: 4 kB / 0.8374 GB, free: 15.18 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.02703, allocations: 3.984 kB / 0.8374 GB, free: 15.17 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.02919, allocations: 1.866 MB / 0.8393 GB, free: 13.28 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.0292, allocations: 0 / 0.8393 GB, free: 13.28 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008255/0.03002, allocations: 199.8 kB / 0.8395 GB, free: 13.09 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.03004, allocations: 35.73 kB / 0.8395 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.03005, allocations: 4 kB / 0.8395 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.71e-05/0.03012, allocations: 19.98 kB / 0.8395 GB, free: 13.03 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/0.03012, allocations: 4 kB / 0.8395 GB, free: 13.02 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.03013, allocations: 0 / 0.8395 GB, free: 13.02 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.0318, allocations: 1.656 MB / 0.8411 GB, free: 11.35 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.653e-05/0.03189, allocations: 20.03 kB / 0.8412 GB, free: 11.33 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.03223, allocations: 27.94 kB / 0.8412 GB, free: 11.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.03239, allocations: 48.89 kB / 0.8412 GB, free: 11.25 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-05/0.03247, allocations: 19.98 kB / 0.8412 GB, free: 11.23 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.34e-05/0.03248, allocations: 8.844 kB / 0.8413 GB, free: 11.22 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.03248, allocations: 0 / 0.8413 GB, free: 11.22 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005061/0.03298, allocations: 263.7 kB / 0.8415 GB, free: 10.96 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.0003967/0.03338, allocations: 243.8 kB / 0.8417 GB, free: 10.72 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.03443, allocations: 1.236 MB / 0.8429 GB, free: 9.48 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/0.03444, allocations: 4 kB / 0.8429 GB, free: 9.477 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005717/0.03501, allocations: 0.6156 MB / 0.8435 GB, free: 8.859 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.03529, allocations: 59.91 kB / 0.8436 GB, free: 8.801 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.03766, allocations: 1.108 MB / 0.8447 GB, free: 7.664 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.903e-05/0.03772, allocations: 108 kB / 0.8448 GB, free: 7.535 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001555/0.03927, allocations: 0.7059 MB / 0.8455 GB, free: 6.832 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/0.04035, allocations: 131.3 kB / 0.8456 GB, free: 6.703 MB / 0.823 GB Notification: Performance of SimCode: time 1.613e-06/0.04035, allocations: 0 / 0.8456 GB, free: 6.703 MB / 0.823 GB Notification: Performance of Templates: time 0.02589/0.06624, allocations: 25.97 MB / 0.871 GB, free: 12.73 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.479604844935238]