Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002083/0.002083, allocations: 115.3 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002639/0.002639, allocations: 183.9 kB / 17.34 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.542/2.542, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 67.89 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.067, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001888/1.069, allocations: 0.6199 MB / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001681/1.07, allocations: 1.285 MB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/1.071, allocations: 0 / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/1.071, allocations: 0 / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.436e-05/1.071, allocations: 7.875 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/1.071, allocations: 77.23 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.87e-05/1.071, allocations: 19.92 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.986e-05/1.071, allocations: 11.97 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.443e-05/1.071, allocations: 8 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.695e-05/1.071, allocations: 15.92 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/1.071, allocations: 4 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002452/1.072, allocations: 99.89 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/1.072, allocations: 7.984 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/1.072, allocations: 11.94 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/1.072, allocations: 72.33 kB / 1.17 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.072, allocations: 0 / 1.17 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.094e-06/1.072, allocations: 0 / 1.17 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.102e-05/1.072, allocations: 0 / 1.17 GB, free: 1.617 MB / 0.8887 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.0005073/1.072, allocations: 359.3 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.072, allocations: 12.03 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/1.072, allocations: 0.9375 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/1.073, allocations: 164.3 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/1.073, allocations: 4.375 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/1.073, allocations: 8.328 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/1.073, allocations: 57.98 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/1.073, allocations: 0 / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/1.073, allocations: 7.938 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/1.073, allocations: 0 / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.884e-05/1.073, allocations: 23.98 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/1.073, allocations: 157.7 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/1.073, allocations: 70.47 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.263e-05/1.073, allocations: 24.86 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005725/1.074, allocations: 0.5622 MB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/1.074, allocations: 38.5 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/1.074, allocations: 0 / 1.171 GB, free: 15.86 MB / 0.9044 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.01887/1.093, allocations: 4.376 MB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/1.093, allocations: 55.31 kB / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/1.093, allocations: 93.86 kB / 1.175 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.22e-05/1.093, allocations: 29.7 kB / 1.175 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/1.093, allocations: 80.14 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/1.093, allocations: 59.48 kB / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/1.093, allocations: 93.78 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.094, allocations: 322.8 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005133/1.094, allocations: 311.8 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005015/1.095, allocations: 315.9 kB / 1.177 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/1.096, allocations: 0.7687 MB / 1.177 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/1.096, allocations: 0 / 1.177 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001546/1.098, allocations: 0.7981 MB / 1.178 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.098, allocations: 8 kB / 1.178 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.098, allocations: 0 / 1.178 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.098, allocations: 0 / 1.178 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007532/1.099, allocations: 99.89 kB / 1.178 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.099, allocations: 0.9375 kB / 1.178 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/1.099, allocations: 11.98 kB / 1.178 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.487e-05/1.099, allocations: 31.98 kB / 1.178 GB, free: 8.219 MB / 0.9044 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.0001921/1.099, allocations: 121.8 kB / 1.178 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/1.099, allocations: 3.953 kB / 1.178 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003037/1.102, allocations: 1.4 MB / 1.18 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/1.102, allocations: 3.984 kB / 1.18 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.102, allocations: 0 / 1.18 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/1.102, allocations: 92.95 kB / 1.18 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.903e-05/1.103, allocations: 19.94 kB / 1.18 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004206/1.103, allocations: 15.94 kB / 1.18 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/1.103, allocations: 39.95 kB / 1.18 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001711/1.105, allocations: 0.9891 MB / 1.181 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002389/1.107, allocations: 1.557 MB / 1.182 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006172/1.108, allocations: 424.5 kB / 1.183 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.398e-05/1.108, allocations: 83.34 kB / 1.183 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of Backend: time 6.51e-07/1.108, allocations: 0 / 1.183 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001518/1.109, allocations: 0.5627 MB / 1.183 GB, free: 2.852 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008437/1.11, allocations: 0.7178 MB / 1.184 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of Templates: time 0.01646/1.127, allocations: 11.47 MB / 1.195 GB, free: 6.672 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches