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.002535/0.002535, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.003049/0.003049, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.55/1.55, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 2.91/2.91, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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.543e-06/1.543e-06, allocations: 0 / 0.7864 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.917e-05/3.071e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001815/0.001846, allocations: 0.6138 MB / 0.787 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002164/0.004009, allocations: 1.341 MB / 0.7883 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.564e-05/0.004035, allocations: 0 / 0.7883 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.004051, allocations: 4.938 kB / 0.7884 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.953e-05/0.00408, allocations: 0 / 0.7884 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.004535, allocations: 82 kB / 0.7884 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.309e-05/0.004598, allocations: 23.92 kB / 0.7885 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.113e-05/0.00463, allocations: 0 / 0.7885 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.623e-05/0.004686, allocations: 15.97 kB / 0.7885 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.89e-05/0.004765, allocations: 11.98 kB / 0.7885 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.004785, allocations: 4 kB / 0.7885 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003149/0.0051, allocations: 109.7 kB / 0.7886 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.005119, allocations: 11.92 kB / 0.7886 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.005143, allocations: 7.984 kB / 0.7886 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.005356, allocations: 91.75 kB / 0.7887 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005358, allocations: 0.5 kB / 0.7887 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.22e-07/0.005359, allocations: 0 / 0.7887 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.005364, allocations: 0.5938 kB / 0.7887 GB, free: 10.28 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.0005517/0.005915, allocations: 377.5 kB / 0.7891 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.005954, allocations: 8.031 kB / 0.7891 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.006004, allocations: 8.875 kB / 0.7891 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.006144, allocations: 125.6 kB / 0.7892 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.006159, allocations: 384 / 0.7892 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.006189, allocations: 4.375 kB / 0.7892 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.006344, allocations: 81.31 kB / 0.7893 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.006356, allocations: 192 / 0.7893 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.006366, allocations: 384 / 0.7893 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.006375, allocations: 9.672 kB / 0.7893 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.181e-05/0.006457, allocations: 23.98 kB / 0.7893 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000204/0.006661, allocations: 116.6 kB / 0.7894 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.006813, allocations: 66.97 kB / 0.7895 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.006866, allocations: 28.78 kB / 0.7895 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002761/0.007142, allocations: 37.89 kB / 0.7895 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.007184, allocations: 41.39 kB / 0.7896 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.007185, allocations: 0 / 0.7896 GB, free: 9.246 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.02273/0.02992, allocations: 6.004 MB / 0.7954 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.02998, allocations: 63.34 kB / 0.7955 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.03011, allocations: 153.9 kB / 0.7957 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.832e-05/0.03019, allocations: 29.7 kB / 0.7957 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.03026, allocations: 134.7 kB / 0.7958 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.03039, allocations: 55.55 kB / 0.7959 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/0.03068, allocations: 99.31 kB / 0.796 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002534/0.03094, allocations: 0.4885 MB / 0.7964 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008432/0.03178, allocations: 0.5546 MB / 0.797 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008405/0.03262, allocations: 0.5507 MB / 0.7975 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/0.03488, allocations: 1.276 MB / 0.7988 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.03488, allocations: 0 / 0.7988 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002428/0.03731, allocations: 1.302 MB / 0.8 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.03733, allocations: 4 kB / 0.8 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.03733, allocations: 0 / 0.8 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.03735, allocations: 4 kB / 0.8 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000915/0.03827, allocations: 99.88 kB / 0.8001 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.03828, allocations: 0 / 0.8001 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/0.03886, allocations: 8 kB / 0.8001 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.182e-05/0.03895, allocations: 31.98 kB / 0.8002 GB, free: 14.25 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.0002461/0.0392, allocations: 168.6 kB / 0.8003 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.03934, allocations: 19.89 kB / 0.8004 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003699/0.04304, allocations: 1.513 MB / 0.8018 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.04305, allocations: 4 kB / 0.8018 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.04306, allocations: 4 kB / 0.8018 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.04306, allocations: 0 / 0.8018 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003538/0.0466, allocations: 1.849 MB / 0.8036 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.0466, allocations: 0 / 0.8036 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008511/0.04746, allocations: 103.9 kB / 0.8037 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.04746, allocations: 0 / 0.8037 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.598e-05/0.04755, allocations: 35.97 kB / 0.8038 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.04755, allocations: 0 / 0.8038 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.04756, allocations: 8.031 kB / 0.8038 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002942/0.0505, allocations: 1.692 MB / 0.8054 GB, free: 8.777 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.05053, allocations: 19.84 kB / 0.8055 GB, free: 8.758 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.05063, allocations: 8 kB / 0.8055 GB, free: 8.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005507/0.05118, allocations: 12 kB / 0.8055 GB, free: 8.738 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.05136, allocations: 43.95 kB / 0.8055 GB, free: 8.695 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.879e-05/0.05144, allocations: 24 kB / 0.8055 GB, free: 8.672 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 7.148e-05/0.05151, allocations: 127.2 kB / 0.8057 GB, free: 8.547 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.05151, allocations: 0 / 0.8057 GB, free: 8.547 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000635/0.05214, allocations: 187.7 kB / 0.8058 GB, free: 8.363 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.0007253/0.05287, allocations: 255.7 kB / 0.8061 GB, free: 8.102 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001741/0.05461, allocations: 1.042 MB / 0.8071 GB, free: 7.055 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.05461, allocations: 0 / 0.8071 GB, free: 7.055 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008095/0.05542, allocations: 495.7 kB / 0.8076 GB, free: 6.566 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.05576, allocations: 38.42 kB / 0.8076 GB, free: 6.531 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003803/0.05956, allocations: 0.8509 MB / 0.8084 GB, free: 5.648 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.05967, allocations: 103.4 kB / 0.8085 GB, free: 5.527 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0011/0.06077, allocations: 293.5 kB / 0.8088 GB, free: 5.242 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005852/0.06136, allocations: 96.47 kB / 0.8089 GB, free: 5.148 MB / 0.7605 GB Notification: Performance of SimCode: time 1.133e-06/0.06136, allocations: 0 / 0.8089 GB, free: 5.148 MB / 0.7605 GB Notification: Performance of Templates: time 0.02169/0.08305, allocations: 12.27 MB / 0.8209 GB, free: 8.965 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","/var/lib/jenkins/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.128898650058545]