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.0009862/0.0009862, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001659/0.001659, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 1.061/1.061, allocations: 177.1 MB / 204.6 MB, free: 5.656 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.798/1.798, allocations: 359 MB / 0.6055 GB, free: 11 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 1.343e-06/1.343e-06, allocations: 0 / 0.7872 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.528e-05, allocations: 3.094 kB / 0.7872 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001311/0.001336, allocations: 0.6196 MB / 0.7878 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00159/0.002926, allocations: 1.356 MB / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.211e-05/0.002958, allocations: 0 / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/0.00298, allocations: 4.688 kB / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.477e-05/0.003004, allocations: 0 / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.00341, allocations: 82.12 kB / 0.7892 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.988e-05/0.00347, allocations: 23.91 kB / 0.7892 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.021e-05/0.00351, allocations: 4 kB / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.983e-05/0.00355, allocations: 15.92 kB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.292e-05/0.003623, allocations: 15.97 kB / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.003636, allocations: 1.75 kB / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.003874, allocations: 107.9 kB / 0.7893 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.003887, allocations: 7.938 kB / 0.7893 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.998e-05/0.003907, allocations: 7.969 kB / 0.7893 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.004062, allocations: 91.77 kB / 0.7894 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.004064, allocations: 0.5938 kB / 0.7894 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004065, allocations: 1.219 kB / 0.7894 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.00407, allocations: 0 / 0.7894 GB, free: 10.4 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.0003895/0.004459, allocations: 372.2 kB / 0.7898 GB, free: 10 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.004501, allocations: 12.62 kB / 0.7898 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.004548, allocations: 17.95 kB / 0.7898 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.135e-05/0.004639, allocations: 116.5 kB / 0.7899 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.004652, allocations: 5.531 kB / 0.7899 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.004678, allocations: 4.375 kB / 0.7899 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.004785, allocations: 71.94 kB / 0.79 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.004794, allocations: 1.562 kB / 0.79 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.004808, allocations: 8.375 kB / 0.79 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.004818, allocations: 3.938 kB / 0.79 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.004e-05/0.004868, allocations: 19.97 kB / 0.79 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001287/0.004997, allocations: 122.4 kB / 0.7902 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.864e-05/0.005096, allocations: 62.97 kB / 0.7902 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.23e-05/0.005128, allocations: 23.67 kB / 0.7902 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/0.005324, allocations: 41.27 kB / 0.7903 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.005349, allocations: 37.92 kB / 0.7903 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.00535, allocations: 1.938 kB / 0.7903 GB, free: 9.375 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.01139/0.01674, allocations: 5.539 MB / 0.7957 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.01678, allocations: 59.34 kB / 0.7958 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.63e-05/0.01686, allocations: 157.9 kB / 0.7959 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/0.01692, allocations: 25.7 kB / 0.796 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.134e-05/0.01695, allocations: 130.9 kB / 0.7961 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.22e-05/0.01705, allocations: 59.47 kB / 0.7961 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.01721, allocations: 103.3 kB / 0.7962 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.01731, allocations: 492.1 kB / 0.7967 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/0.01775, allocations: 467.9 kB / 0.7972 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/0.01816, allocations: 463.8 kB / 0.7976 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.01934, allocations: 1.072 MB / 0.7986 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.01934, allocations: 0 / 0.7986 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001239/0.02058, allocations: 1.107 MB / 0.7997 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.0206, allocations: 14.78 kB / 0.7997 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.0206, allocations: 0 / 0.7997 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.02062, allocations: 0 / 0.7997 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004274/0.02105, allocations: 99.88 kB / 0.7998 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.02106, allocations: 0 / 0.7998 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.02127, allocations: 8 kB / 0.7998 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.02132, allocations: 35.98 kB / 0.7999 GB, free: 15.45 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.0001685/0.02149, allocations: 160.6 kB / 0.8 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.537e-05/0.02158, allocations: 15.89 kB / 0.8 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/0.02348, allocations: 1.341 MB / 0.8014 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.02349, allocations: 4 kB / 0.8014 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.02349, allocations: 0 / 0.8014 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.0235, allocations: 4 kB / 0.8014 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.02562, allocations: 1.622 MB / 0.8029 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.02562, allocations: 32 / 0.8029 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.02601, allocations: 115.9 kB / 0.8031 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.02602, allocations: 0 / 0.8031 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/0.02607, allocations: 31.98 kB / 0.8031 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.02607, allocations: 4 kB / 0.8031 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.02607, allocations: 0 / 0.8031 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.02764, allocations: 1.344 MB / 0.8044 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 2.184e-05/0.02766, allocations: 19.84 kB / 0.8044 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.684e-05/0.02773, allocations: 4 kB / 0.8044 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.02795, allocations: 16 kB / 0.8044 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.02807, allocations: 39.95 kB / 0.8045 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/0.02812, allocations: 32.03 kB / 0.8045 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.167e-05/0.02816, allocations: 127.2 kB / 0.8046 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.02816, allocations: 0 / 0.8046 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004717/0.02863, allocations: 183.6 kB / 0.8048 GB, free: 10.31 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.0004489/0.02908, allocations: 250.7 kB / 0.805 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009491/0.03003, allocations: 0.8743 MB / 0.8059 GB, free: 9.172 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.03003, allocations: 0 / 0.8059 GB, free: 9.172 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004124/0.03044, allocations: 411.7 kB / 0.8063 GB, free: 8.766 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.0307, allocations: 40.14 kB / 0.8063 GB, free: 8.727 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.03248, allocations: 0.7571 MB / 0.8071 GB, free: 7.938 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.956e-05/0.03253, allocations: 77.34 kB / 0.8071 GB, free: 7.844 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0006439/0.03318, allocations: 301.4 kB / 0.8074 GB, free: 7.551 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003915/0.03357, allocations: 96.47 kB / 0.8075 GB, free: 7.457 MB / 0.7605 GB Notification: Performance of SimCode: time 1.683e-06/0.03357, allocations: 0 / 0.8075 GB, free: 7.457 MB / 0.7605 GB Notification: Performance of Templates: time 0.01328/0.04685, allocations: 12.26 MB / 0.8195 GB, free: 11.28 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.476342493202537]