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.0009391/0.0009391, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 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.0009711/0.0009711, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 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 0.9242/0.9242, allocations: 177.1 MB / 204.2 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.847/1.847, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.267e-05/3.545e-05, allocations: 4.984 kB / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001985/0.002021, allocations: 0.625 MB / 0.7878 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.003895, allocations: 1.352 MB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/0.003929, allocations: 0 / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.003955, allocations: 3.938 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.397e-05/0.003979, allocations: 0.5625 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.004448, allocations: 84.38 kB / 0.7892 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.749e-05/0.004515, allocations: 24.88 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.004558, allocations: 3.938 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.017e-05/0.004598, allocations: 12.64 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.319e-05/0.004671, allocations: 11.98 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.004689, allocations: 5.656 kB / 0.7892 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000307/0.004996, allocations: 111.7 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.005011, allocations: 11.94 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.005033, allocations: 4 kB / 0.7894 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.005223, allocations: 85.41 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005226, allocations: 0 / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005227, allocations: 0 / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.005232, allocations: 0 / 0.7894 GB, free: 10.11 MB / 0.7448 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.0004898/0.005722, allocations: 387.6 kB / 0.7898 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.005771, allocations: 8.031 kB / 0.7898 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.005824, allocations: 9.234 kB / 0.7898 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.005928, allocations: 112.6 kB / 0.7899 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.005943, allocations: 12.25 kB / 0.7899 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.00598, allocations: 4.375 kB / 0.7899 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.00612, allocations: 71.95 kB / 0.79 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.006132, allocations: 192 / 0.79 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.006146, allocations: 4.969 kB / 0.79 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.006157, allocations: 3.938 kB / 0.79 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.819e-05/0.006226, allocations: 20.56 kB / 0.79 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.006391, allocations: 125.8 kB / 0.7902 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.006514, allocations: 58.98 kB / 0.7902 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.563e-05/0.00656, allocations: 27.67 kB / 0.7902 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000245/0.006805, allocations: 41.7 kB / 0.7903 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.006837, allocations: 37.38 kB / 0.7903 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.006838, allocations: 0.875 kB / 0.7903 GB, free: 9.074 MB / 0.7448 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.0171/0.02394, allocations: 5.548 MB / 0.7957 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.02397, allocations: 51.41 kB / 0.7958 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.275e-05/0.02405, allocations: 149.9 kB / 0.7959 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.507e-05/0.02412, allocations: 37.64 kB / 0.796 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.02416, allocations: 126.9 kB / 0.7961 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.02428, allocations: 67.42 kB / 0.7961 GB, free: 2.988 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/0.02453, allocations: 95.31 kB / 0.7962 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.02469, allocations: 0.4884 MB / 0.7967 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000681/0.02537, allocations: 459.9 kB / 0.7972 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006841/0.02605, allocations: 465.7 kB / 0.7976 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.02735, allocations: 1.08 MB / 0.7987 GB, free: 412 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.02735, allocations: 0 / 0.7987 GB, free: 412 kB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001202/0.02855, allocations: 1.107 MB / 0.7997 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.02857, allocations: 4 kB / 0.7997 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.02857, allocations: 0 / 0.7997 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.02859, allocations: 4 kB / 0.7997 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/0.02898, allocations: 99.88 kB / 0.7998 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.02899, allocations: 0 / 0.7998 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.0292, allocations: 4 kB / 0.7998 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/0.02925, allocations: 31.98 kB / 0.7999 GB, free: 15.15 MB / 0.7605 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.0001325/0.02939, allocations: 168.6 kB / 0.8 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.633e-05/0.02947, allocations: 15.89 kB / 0.8 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/0.03131, allocations: 1.337 MB / 0.8014 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.03131, allocations: 4 kB / 0.8014 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.03132, allocations: 4 kB / 0.8014 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.03132, allocations: 0 / 0.8014 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.03307, allocations: 1.626 MB / 0.8029 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.03307, allocations: 0 / 0.8029 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004775/0.03355, allocations: 107.9 kB / 0.8031 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.03356, allocations: 4 kB / 0.8031 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.733e-05/0.03363, allocations: 31.98 kB / 0.8031 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.03364, allocations: 4 kB / 0.8031 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.03364, allocations: 0 / 0.8031 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.03546, allocations: 1.341 MB / 0.8044 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.03548, allocations: 15.84 kB / 0.8044 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.117e-05/0.03555, allocations: 16.05 kB / 0.8044 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.03586, allocations: 12 kB / 0.8044 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.03599, allocations: 39.95 kB / 0.8045 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-05/0.03605, allocations: 32 kB / 0.8045 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 3.722e-05/0.03609, allocations: 119.2 kB / 0.8046 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.03609, allocations: 0 / 0.8046 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004028/0.03649, allocations: 187.6 kB / 0.8048 GB, free: 10.01 MB / 0.7605 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.0003937/0.03689, allocations: 254.6 kB / 0.805 GB, free: 9.75 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009859/0.03787, allocations: 0.8808 MB / 0.8059 GB, free: 8.867 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.03788, allocations: 0 / 0.8059 GB, free: 8.867 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003897/0.03826, allocations: 411.7 kB / 0.8063 GB, free: 8.461 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.03849, allocations: 32 kB / 0.8063 GB, free: 8.43 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.04024, allocations: 0.7611 MB / 0.8071 GB, free: 7.637 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.341e-05/0.04029, allocations: 73.34 kB / 0.8071 GB, free: 7.547 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005892/0.04088, allocations: 293.5 kB / 0.8074 GB, free: 7.262 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/0.04127, allocations: 96.47 kB / 0.8075 GB, free: 7.168 MB / 0.7605 GB Notification: Performance of SimCode: time 7.61e-07/0.04127, allocations: 0 / 0.8075 GB, free: 7.168 MB / 0.7605 GB Notification: Performance of Templates: time 0.01269/0.05396, allocations: 12.27 MB / 0.8195 GB, free: 10.98 MB / 0.7761 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.217582846991718]