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.001183/0.001183, allocations: 114.2 kB / 16.42 MB, free: 6.5 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.001273/0.001273, allocations: 185.7 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.462/1.462, allocations: 222.9 MB / 241 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.495/2.495, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002853/0.002853, allocations: 63.91 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296/1.299, allocations: 151.6 MB / 1.167 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002337/1.302, allocations: 0.6084 MB / 1.168 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002211/1.304, allocations: 1.285 MB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/1.304, allocations: 0 / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.929e-05/1.304, allocations: 0 / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.045e-05/1.304, allocations: 0 / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006025/1.305, allocations: 83.66 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.144e-05/1.305, allocations: 23.92 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.152e-05/1.305, allocations: 0 / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.028e-05/1.305, allocations: 15.98 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.413e-05/1.305, allocations: 23.91 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/1.305, allocations: 0 / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/1.305, allocations: 95.91 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/1.305, allocations: 15.97 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/1.305, allocations: 3.938 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/1.306, allocations: 67.38 kB / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.306, allocations: 0 / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.703e-06/1.306, allocations: 0 / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.459e-05/1.306, allocations: 4 kB / 1.17 GB, free: 1.555 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.0005587/1.306, allocations: 356.2 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/1.306, allocations: 8.031 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/1.306, allocations: 0.9375 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/1.306, allocations: 172.3 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/1.307, allocations: 4.375 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/1.307, allocations: 8.328 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/1.307, allocations: 57.94 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/1.307, allocations: 0 / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/1.307, allocations: 4 kB / 1.17 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/1.307, allocations: 3.938 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.459e-05/1.307, allocations: 27.97 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002312/1.307, allocations: 165.7 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/1.307, allocations: 58.5 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/1.307, allocations: 28.84 kB / 1.17 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006857/1.308, allocations: 0.5583 MB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/1.308, allocations: 38.5 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.472e-06/1.308, allocations: 0 / 1.171 GB, free: 15.79 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.02121/1.329, allocations: 4.378 MB / 1.175 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/1.329, allocations: 55.31 kB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/1.33, allocations: 93.86 kB / 1.175 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.281e-05/1.33, allocations: 33.69 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/1.33, allocations: 80.14 kB / 1.175 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/1.33, allocations: 59.48 kB / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/1.33, allocations: 85.8 kB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001675/1.33, allocations: 330.8 kB / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006004/1.331, allocations: 307.9 kB / 1.176 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/1.331, allocations: 311.8 kB / 1.177 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/1.333, allocations: 0.7799 MB / 1.177 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.333, allocations: 0 / 1.177 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001761/1.335, allocations: 0.7981 MB / 1.178 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/1.335, allocations: 4 kB / 1.178 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/1.335, allocations: 0 / 1.178 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/1.335, allocations: 0 / 1.178 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/1.336, allocations: 99.88 kB / 1.178 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/1.336, allocations: 4 kB / 1.178 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005523/1.336, allocations: 8 kB / 1.178 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/1.337, allocations: 35.97 kB / 1.178 GB, free: 8.148 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.0002106/1.337, allocations: 121.8 kB / 1.178 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.53e-05/1.337, allocations: 7.953 kB / 1.178 GB, free: 8.012 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003489/1.34, allocations: 1.396 MB / 1.18 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/1.34, allocations: 3.984 kB / 1.18 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.34, allocations: 0 / 1.18 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/1.341, allocations: 92.95 kB / 1.18 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.62e-05/1.341, allocations: 12 kB / 1.18 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000524/1.341, allocations: 11.94 kB / 1.18 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/1.341, allocations: 43.97 kB / 1.18 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001966/1.343, allocations: 0.993 MB / 1.181 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002599/1.346, allocations: 1.557 MB / 1.182 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006782/1.347, allocations: 424.5 kB / 1.183 GB, free: 3.434 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.212e-05/1.347, allocations: 83.34 kB / 1.183 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of Backend: time 1.113e-06/1.347, allocations: 0 / 1.183 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001626/1.348, allocations: 0.5629 MB / 1.183 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009517/1.349, allocations: 0.7101 MB / 1.184 GB, free: 2.027 MB / 0.9044 GB Notification: Performance of Templates: time 0.02193/1.371, allocations: 11.48 MB / 1.195 GB, free: 6.605 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