Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001655/0.001655, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 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.001984/0.001984, allocations: 210.9 kB / 23 MB, free: 4.934 MB / 14.72 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 1.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.285/3.285, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 75.31 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4154, allocations: 176.1 MB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002534/0.4179, allocations: 0.6179 MB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002368/0.4203, allocations: 1.315 MB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.437e-05/0.4203, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.4203, allocations: 3.938 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 2.798e-05/0.4204, allocations: 0 / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.4208, allocations: 75.73 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.601e-05/0.4209, allocations: 23.92 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.455e-05/0.421, allocations: 8 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.421, allocations: 19.91 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.976e-05/0.4211, allocations: 11.98 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.4211, allocations: 4 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003296/0.4215, allocations: 107.9 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.4215, allocations: 15.92 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.4215, allocations: 7.984 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.4217, allocations: 75.72 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.4217, allocations: 4 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4217, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.4217, allocations: 4 kB / 1.329 GB, free: 14.62 MB / 1.029 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.0005443/0.4223, allocations: 282.1 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.4223, allocations: 8.031 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.4223, allocations: 4.938 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.4225, allocations: 102.5 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.4225, allocations: 8.312 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.4225, allocations: 8.375 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.4227, allocations: 79.69 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.4227, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.4227, allocations: 8 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.4227, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.264e-05/0.4228, allocations: 19.98 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.423, allocations: 121.2 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.4232, allocations: 62.44 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.4232, allocations: 24.86 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000273/0.4235, allocations: 39.95 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.4235, allocations: 34.56 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.4235, allocations: 4 kB / 1.33 GB, free: 13.71 MB / 1.029 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.02066/0.4442, allocations: 4.158 MB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.4442, allocations: 55.41 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.556e-05/0.4443, allocations: 93.86 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.663e-05/0.4444, allocations: 25.83 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.4444, allocations: 88.14 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.4445, allocations: 55.48 kB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/0.4448, allocations: 97.66 kB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4449, allocations: 314.8 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005308/0.4455, allocations: 311.9 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005225/0.446, allocations: 307.9 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.4475, allocations: 0.7798 MB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.4475, allocations: 4 kB / 1.336 GB, free: 7.305 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001612/0.4491, allocations: 0.7982 MB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.4492, allocations: 9.25 kB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4492, allocations: 4 kB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.4492, allocations: 0 / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008326/0.45, allocations: 99.81 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.45, allocations: 0 / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/0.4505, allocations: 8 kB / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.978e-05/0.4506, allocations: 35.98 kB / 1.337 GB, free: 6.348 MB / 1.029 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.0002121/0.4508, allocations: 114.3 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.576e-05/0.4509, allocations: 4 kB / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003312/0.4542, allocations: 1.411 MB / 1.339 GB, free: 4.797 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4542, allocations: 0 / 1.339 GB, free: 4.797 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4542, allocations: 0 / 1.339 GB, free: 4.797 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.4543, allocations: 15.89 kB / 1.339 GB, free: 4.781 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.745e-05/0.4543, allocations: 12 kB / 1.339 GB, free: 4.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004665/0.4548, allocations: 11.98 kB / 1.339 GB, free: 4.758 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.455, allocations: 47.89 kB / 1.339 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001851/0.4568, allocations: 0.9849 MB / 1.34 GB, free: 3.719 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002533/0.4594, allocations: 1.557 MB / 1.341 GB, free: 2.145 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005979/0.46, allocations: 371.9 kB / 1.342 GB, free: 1.781 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.929e-05/0.46, allocations: 75.28 kB / 1.342 GB, free: 1.707 MB / 1.029 GB Notification: Performance of Backend: time 5.41e-07/0.46, allocations: 0 / 1.342 GB, free: 1.707 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001573/0.4616, allocations: 0.5603 MB / 1.342 GB, free: 1.141 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009213/0.4625, allocations: 0.7218 MB / 1.343 GB, free: 376 kB / 1.029 GB Notification: Performance of Templates: time 0.02637/0.4889, allocations: 12.57 MB / 1.355 GB, free: 3.871 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.62318638299621]