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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 190.8 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 251 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 443.4 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 71.89 kB / 1.062 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7934/0.7954, allocations: 160.8 MB / 1.219 GB, free: 3.734 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002367/0.7978, allocations: 0.6299 MB / 1.219 GB, free: 3.266 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00238/0.8002, allocations: 1.292 MB / 1.22 GB, free: 2.227 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.4e-05/0.8002, allocations: 0 / 1.22 GB, free: 2.227 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.735e-05/0.8002, allocations: 3.938 kB / 1.22 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.646e-05/0.8003, allocations: 0 / 1.22 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.8009, allocations: 78.91 kB / 1.22 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.893e-05/0.8009, allocations: 22.48 kB / 1.22 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.729e-05/0.801, allocations: 10.2 kB / 1.22 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.017e-05/0.801, allocations: 9.531 kB / 1.22 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.364e-05/0.8011, allocations: 20.28 kB / 1.221 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.8011, allocations: 1.094 kB / 1.221 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.8014, allocations: 100.4 kB / 1.221 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.8014, allocations: 14.34 kB / 1.221 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.8015, allocations: 10.62 kB / 1.221 GB, free: 2.062 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.8016, allocations: 65.81 kB / 1.221 GB, free: 2.031 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8017, allocations: 1.125 kB / 1.221 GB, free: 2.031 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8017, allocations: 0 / 1.221 GB, free: 2.031 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.8017, allocations: 4 kB / 1.221 GB, free: 2.027 MB / 0.92 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.000566/0.8022, allocations: 355.1 kB / 1.221 GB, free: 1.648 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.8023, allocations: 9.625 kB / 1.221 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.8023, allocations: 3.438 kB / 1.221 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.8025, allocations: 164.9 kB / 1.221 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.8025, allocations: 2.562 kB / 1.221 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.077e-05/0.8025, allocations: 7.641 kB / 1.221 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.8027, allocations: 61.5 kB / 1.221 GB, free: 1.391 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.8027, allocations: 4 kB / 1.221 GB, free: 1.387 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.8027, allocations: 1.25 kB / 1.221 GB, free: 1.387 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.8027, allocations: 1.094 kB / 1.221 GB, free: 1.387 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.229e-05/0.8028, allocations: 29.31 kB / 1.221 GB, free: 1.371 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.803, allocations: 161.5 kB / 1.221 GB, free: 1.172 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.8032, allocations: 57.84 kB / 1.222 GB, free: 1.129 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/0.8032, allocations: 27.38 kB / 1.222 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007535/0.804, allocations: 0.5619 MB / 1.222 GB, free: 448 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/0.804, allocations: 39.81 kB / 1.222 GB, free: 400 kB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.804, allocations: 0 / 1.222 GB, free: 400 kB / 0.92 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.02043/0.8245, allocations: 4.366 MB / 1.226 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.8245, allocations: 52.84 kB / 1.226 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.8246, allocations: 96.31 kB / 1.227 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.324e-05/0.8247, allocations: 29.7 kB / 1.227 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.8248, allocations: 80.83 kB / 1.227 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.8249, allocations: 58.48 kB / 1.227 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.8251, allocations: 97.11 kB / 1.227 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.8253, allocations: 323.6 kB / 1.227 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005527/0.8259, allocations: 310.2 kB / 1.227 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.8264, allocations: 310.2 kB / 1.228 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.8281, allocations: 0.7714 MB / 1.228 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.8281, allocations: 0 / 1.228 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001653/0.8298, allocations: 0.8104 MB / 1.229 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.8298, allocations: 4 kB / 1.229 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.8298, allocations: 4 kB / 1.229 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.8298, allocations: 0 / 1.229 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00083/0.8306, allocations: 91.94 kB / 1.229 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.8306, allocations: 4 kB / 1.229 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/0.8311, allocations: 11.94 kB / 1.229 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.563e-05/0.8312, allocations: 35.97 kB / 1.229 GB, free: 11.61 MB / 0.9356 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.0002155/0.8315, allocations: 129.7 kB / 1.23 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.007e-05/0.8315, allocations: 7.953 kB / 1.23 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003336/0.8349, allocations: 1.396 MB / 1.231 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.8349, allocations: 4 kB / 1.231 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.8349, allocations: 0 / 1.231 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.8349, allocations: 7.984 kB / 1.231 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/0.8382, allocations: 1.818 MB / 1.233 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.8382, allocations: 0 / 1.233 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007881/0.839, allocations: 107.9 kB / 1.233 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.839, allocations: 4 kB / 1.233 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.413e-05/0.839, allocations: 27.94 kB / 1.233 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.959e-06/0.8391, allocations: 7.984 kB / 1.233 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8391, allocations: 0 / 1.233 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002574/0.8416, allocations: 1.462 MB / 1.234 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/0.8417, allocations: 89.03 kB / 1.234 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.729e-05/0.8418, allocations: 19.92 kB / 1.234 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004756/0.8423, allocations: 8 kB / 1.234 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.8424, allocations: 47.89 kB / 1.234 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.667e-05/0.8425, allocations: 32 kB / 1.234 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.72e-05/0.8426, allocations: 75.28 kB / 1.234 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8426, allocations: 0 / 1.234 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006738/0.8432, allocations: 183.8 kB / 1.235 GB, free: 6.082 MB / 0.9356 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 (40): * Single equations (assignments): 40 * 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.0005876/0.8438, allocations: 226.8 kB / 1.235 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.8452, allocations: 0.7106 MB / 1.236 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.8452, allocations: 3.938 kB / 1.236 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000701/0.8459, allocations: 408 kB / 1.236 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.8462, allocations: 26.31 kB / 1.236 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.8495, allocations: 0.8079 MB / 1.237 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.8499, allocations: 0.7141 MB / 1.237 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001062/0.851, allocations: 297.4 kB / 1.238 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005276/0.8515, allocations: 91.41 kB / 1.238 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of SimCode: time 1.192e-06/0.8515, allocations: 4 kB / 1.238 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of Templates: time 0.02159/0.8731, allocations: 11.74 MB / 1.249 GB, free: 7.066 MB / 0.9513 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.883936698548496]