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.0009159/0.0009159, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001137/0.001137, allocations: 166.9 kB / 24.87 MB, free: 8.367 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.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 4.488 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.859/1.859, allocations: 359 MB / 0.6063 GB, free: 11.09 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.134e-06/2.134e-06, allocations: 0 / 0.7884 GB, free: 348 kB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.819e-05, allocations: 6.312 kB / 0.7884 GB, free: 340 kB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001327/0.001355, allocations: 0.6459 MB / 0.789 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.00278, allocations: 1.326 MB / 0.7903 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.786e-05/0.002808, allocations: 0 / 0.7903 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.002825, allocations: 7.938 kB / 0.7903 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.294e-05/0.002848, allocations: 0 / 0.7903 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.003207, allocations: 87.59 kB / 0.7904 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.379e-05/0.003261, allocations: 19.97 kB / 0.7904 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.003299, allocations: 4 kB / 0.7904 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.361e-05/0.003332, allocations: 15.98 kB / 0.7904 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.655e-05/0.003399, allocations: 15.91 kB / 0.7904 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.003411, allocations: 0 / 0.7904 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002267/0.003638, allocations: 111.8 kB / 0.7906 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.003651, allocations: 8 kB / 0.7906 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.521e-05/0.003666, allocations: 7.984 kB / 0.7906 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.003803, allocations: 91.7 kB / 0.7907 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.003806, allocations: 0 / 0.7907 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.014e-06/0.003808, allocations: 0 / 0.7907 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.003812, allocations: 0 / 0.7907 GB, free: 13.98 MB / 0.7605 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.0003288/0.004141, allocations: 384.4 kB / 0.791 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.004173, allocations: 12.03 kB / 0.791 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.004204, allocations: 8.938 kB / 0.791 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.354e-05/0.004277, allocations: 108.6 kB / 0.7911 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.004289, allocations: 4.375 kB / 0.7912 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.004307, allocations: 8.375 kB / 0.7912 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.247e-05/0.004389, allocations: 71.89 kB / 0.7912 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.004398, allocations: 192 / 0.7912 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-06/0.004405, allocations: 384 / 0.7912 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.00441, allocations: 7.938 kB / 0.7912 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.854e-05/0.004449, allocations: 19.97 kB / 0.7913 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/0.004558, allocations: 109.2 kB / 0.7914 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 8.271e-05/0.004641, allocations: 51.05 kB / 0.7914 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.113e-05/0.004662, allocations: 27.61 kB / 0.7914 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.00483, allocations: 39.97 kB / 0.7915 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.004851, allocations: 37.33 kB / 0.7915 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.004852, allocations: 0 / 0.7915 GB, free: 12.98 MB / 0.7605 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.0104/0.01525, allocations: 5.204 MB / 0.7966 GB, free: 7.656 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.01528, allocations: 55.41 kB / 0.7966 GB, free: 7.59 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.191e-05/0.01534, allocations: 153.9 kB / 0.7968 GB, free: 7.422 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.482e-05/0.0154, allocations: 29.7 kB / 0.7968 GB, free: 7.387 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.01543, allocations: 130.9 kB / 0.7969 GB, free: 7.254 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.847e-05/0.01552, allocations: 59.42 kB / 0.797 GB, free: 7.195 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.01568, allocations: 99.31 kB / 0.7971 GB, free: 7.09 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.01578, allocations: 0.4884 MB / 0.7976 GB, free: 6.59 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.01608, allocations: 399.8 kB / 0.798 GB, free: 6.199 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.01638, allocations: 395.9 kB / 0.7983 GB, free: 5.812 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009003/0.01728, allocations: 0.9318 MB / 0.7992 GB, free: 4.879 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01728, allocations: 0 / 0.7992 GB, free: 4.879 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009872/0.01827, allocations: 0.9818 MB / 0.8002 GB, free: 3.891 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.01829, allocations: 4 kB / 0.8002 GB, free: 3.887 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.01829, allocations: 7.938 kB / 0.8002 GB, free: 3.879 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.01831, allocations: 0 / 0.8002 GB, free: 3.879 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.01871, allocations: 87.95 kB / 0.8003 GB, free: 3.793 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-06/0.01871, allocations: 0 / 0.8003 GB, free: 3.793 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.01892, allocations: 16 kB / 0.8003 GB, free: 3.777 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/0.01897, allocations: 31.97 kB / 0.8003 GB, free: 3.746 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.0001447/0.01912, allocations: 164.5 kB / 0.8005 GB, free: 3.574 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.442e-05/0.0192, allocations: 15.89 kB / 0.8005 GB, free: 3.559 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.02078, allocations: 1.216 MB / 0.8017 GB, free: 2.34 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.02079, allocations: 4 kB / 0.8017 GB, free: 2.336 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.02079, allocations: 4 kB / 0.8017 GB, free: 2.332 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.02079, allocations: 3.984 kB / 0.8017 GB, free: 2.328 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.02245, allocations: 1.482 MB / 0.8032 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.02245, allocations: 3.984 kB / 0.8032 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.02284, allocations: 107.9 kB / 0.8033 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.02284, allocations: 4 kB / 0.8033 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/0.02289, allocations: 24 kB / 0.8033 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.02289, allocations: 4 kB / 0.8033 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.02289, allocations: 0 / 0.8033 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3293/0.3522, allocations: 1.14 MB / 0.8044 GB, free: 65.21 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-05/0.3523, allocations: 11.03 kB / 0.8044 GB, free: 65.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.001e-05/0.3524, allocations: 7.922 kB / 0.8044 GB, free: 65.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/0.3527, allocations: 10.84 kB / 0.8044 GB, free: 65.21 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.3528, allocations: 48.47 kB / 0.8045 GB, free: 65.21 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.147e-05/0.3529, allocations: 28.84 kB / 0.8045 GB, free: 65.21 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 5.333e-05/0.3529, allocations: 123.2 kB / 0.8046 GB, free: 65.09 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.3529, allocations: 0 / 0.8046 GB, free: 65.09 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006163/0.3536, allocations: 186.3 kB / 0.8048 GB, free: 65.09 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.0005273/0.3541, allocations: 246.1 kB / 0.805 GB, free: 65.01 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008922/0.355, allocations: 0.7477 MB / 0.8058 GB, free: 64.99 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.355, allocations: 1.188 kB / 0.8058 GB, free: 64.99 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003963/0.3554, allocations: 352.8 kB / 0.8061 GB, free: 64.98 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.3557, allocations: 38.06 kB / 0.8061 GB, free: 64.98 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.3575, allocations: 0.7028 MB / 0.8068 GB, free: 64.81 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.596e-05/0.3575, allocations: 84.86 kB / 0.8069 GB, free: 64.74 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0007245/0.3582, allocations: 293.9 kB / 0.8072 GB, free: 64.74 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005072/0.3588, allocations: 170.9 kB / 0.8074 GB, free: 64.68 MB / 0.7605 GB Notification: Performance of SimCode: time 1.723e-06/0.3588, allocations: 0 / 0.8074 GB, free: 64.68 MB / 0.7605 GB Notification: Performance of Templates: time 0.01714/0.3759, allocations: 13.29 MB / 0.8203 GB, free: 63.77 MB / 0.7605 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.534425647929311]