Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00164/0.00164, allocations: 77.23 kB / 19.76 MB, free: 2.035 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.001397/0.001397, allocations: 160.5 kB / 23.01 MB, free: 4.945 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.404/1.404, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.637/2.637, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.00328/0.00328, allocations: 63.91 kB / 0.9516 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3236, allocations: 169.9 MB / 1.117 GB, free: 2.465 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001676/0.3252, allocations: 0.6175 MB / 1.118 GB, free: 1.852 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.327, allocations: 1.303 MB / 1.119 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.327, allocations: 0 / 1.119 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.327, allocations: 3.938 kB / 1.119 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 1.88e-05/0.327, allocations: 3.938 kB / 1.119 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.3274, allocations: 83.72 kB / 1.119 GB, free: 452 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.535e-05/0.3274, allocations: 19.98 kB / 1.119 GB, free: 432 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.3275, allocations: 4 kB / 1.119 GB, free: 428 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.22e-05/0.3275, allocations: 15.92 kB / 1.119 GB, free: 412 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.74e-05/0.3276, allocations: 19.91 kB / 1.12 GB, free: 392 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3276, allocations: 4 kB / 1.12 GB, free: 388 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000277/0.3279, allocations: 107.8 kB / 1.12 GB, free: 280 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.3279, allocations: 11.92 kB / 1.12 GB, free: 268 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.3279, allocations: 8 kB / 1.12 GB, free: 260 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.3281, allocations: 75.77 kB / 1.12 GB, free: 184 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3281, allocations: 0 / 1.12 GB, free: 184 kB / 1.061 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3281, allocations: 0 / 1.12 GB, free: 184 kB / 1.061 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.3281, allocations: 0 / 1.12 GB, free: 184 kB / 1.061 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.0005595/0.3286, allocations: 278.2 kB / 1.12 GB, free: 15.88 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3287, allocations: 16.03 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.3287, allocations: 4.938 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.3289, allocations: 110.5 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-06/0.3289, allocations: 4.312 kB / 1.12 GB, free: 15.72 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/0.3289, allocations: 8.375 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.3291, allocations: 83.69 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3291, allocations: 3.938 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3291, allocations: 0 / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.3291, allocations: 4 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.924e-05/0.3292, allocations: 19.98 kB / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.3294, allocations: 117.3 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.3295, allocations: 54.55 kB / 1.12 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.435e-05/0.3295, allocations: 20.86 kB / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002547/0.3298, allocations: 39.95 kB / 1.12 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.3298, allocations: 38.5 kB / 1.12 GB, free: 15.28 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.3298, allocations: 0 / 1.12 GB, free: 15.28 MB / 1.076 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.03161/0.3614, allocations: 4.193 MB / 1.125 GB, free: 10.98 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.3615, allocations: 51.41 kB / 1.125 GB, free: 10.92 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.543e-05/0.3616, allocations: 93.86 kB / 1.125 GB, free: 10.82 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.79e-05/0.3617, allocations: 29.64 kB / 1.125 GB, free: 10.79 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.3617, allocations: 88 kB / 1.125 GB, free: 10.7 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.3619, allocations: 55.55 kB / 1.125 GB, free: 10.64 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003942/0.3623, allocations: 93.78 kB / 1.125 GB, free: 10.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.3625, allocations: 322.8 kB / 1.125 GB, free: 10.22 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009026/0.3634, allocations: 307.9 kB / 1.126 GB, free: 9.918 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009034/0.3643, allocations: 311.9 kB / 1.126 GB, free: 9.613 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002675/0.367, allocations: 0.7663 MB / 1.127 GB, free: 8.844 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.367, allocations: 0 / 1.127 GB, free: 8.844 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002746/0.3697, allocations: 0.8082 MB / 1.127 GB, free: 8.031 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.3697, allocations: 4 kB / 1.127 GB, free: 8.027 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3697, allocations: 0 / 1.127 GB, free: 8.027 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.3698, allocations: 0 / 1.127 GB, free: 8.027 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.371, allocations: 87.95 kB / 1.127 GB, free: 7.941 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.371, allocations: 8 kB / 1.127 GB, free: 7.934 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007602/0.3718, allocations: 8 kB / 1.128 GB, free: 7.926 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.3719, allocations: 35.97 kB / 1.128 GB, free: 7.891 MB / 1.076 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.0002636/0.3722, allocations: 121.7 kB / 1.128 GB, free: 7.762 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.3723, allocations: 7.953 kB / 1.128 GB, free: 7.754 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005152/0.3775, allocations: 1.399 MB / 1.129 GB, free: 6.348 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.3775, allocations: 4 kB / 1.129 GB, free: 6.344 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3775, allocations: 0 / 1.129 GB, free: 6.344 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.3775, allocations: 3.984 kB / 1.129 GB, free: 6.34 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004728/0.3822, allocations: 1.667 MB / 1.131 GB, free: 4.633 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3822, allocations: 0 / 1.131 GB, free: 4.633 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.3835, allocations: 107.9 kB / 1.131 GB, free: 4.527 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.3835, allocations: 4 kB / 1.131 GB, free: 4.523 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.3836, allocations: 27.94 kB / 1.131 GB, free: 4.496 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.3836, allocations: 8.031 kB / 1.131 GB, free: 4.488 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.3836, allocations: 7.938 kB / 1.131 GB, free: 4.48 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003976/0.3876, allocations: 1.463 MB / 1.132 GB, free: 2.996 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.3876, allocations: 15.88 kB / 1.132 GB, free: 2.98 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.3878, allocations: 12 kB / 1.132 GB, free: 2.969 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008067/0.3886, allocations: 12 kB / 1.132 GB, free: 2.957 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/0.3888, allocations: 47.88 kB / 1.132 GB, free: 2.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.3889, allocations: 31.94 kB / 1.132 GB, free: 2.879 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.835e-05/0.389, allocations: 79.28 kB / 1.132 GB, free: 2.801 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/0.389, allocations: 4 kB / 1.132 GB, free: 2.797 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009736/0.39, allocations: 187.8 kB / 1.133 GB, free: 2.613 MB / 1.076 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.0007015/0.3907, allocations: 230.7 kB / 1.133 GB, free: 2.379 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002037/0.3927, allocations: 0.7106 MB / 1.134 GB, free: 1.668 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3927, allocations: 0 / 1.134 GB, free: 1.668 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.3938, allocations: 403.6 kB / 1.134 GB, free: 1.273 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.3943, allocations: 12 kB / 1.134 GB, free: 1.262 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004761/0.3991, allocations: 0.7964 MB / 1.135 GB, free: 444 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.337e-05/0.3992, allocations: 103.7 kB / 1.135 GB, free: 320 kB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001024/0.4002, allocations: 293.5 kB / 1.135 GB, free: 28 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4841/0.8843, allocations: 94.11 kB / 1.135 GB, free: 58.56 MB / 1.076 GB Notification: Performance of SimCode: time 1.533e-06/0.8843, allocations: 0 / 1.135 GB, free: 58.56 MB / 1.076 GB Notification: Performance of Templates: time 0.01417/0.8985, allocations: 11.96 MB / 1.147 GB, free: 57.74 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.411608675960451]