Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.493/1.493, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 185.2 kB / 327.6 MB, free: 2.074 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.4 MB / 0.5786 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008686/0.0008688, allocations: 84.92 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.0003261, allocations: 12.69 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2257, allocations: 106.3 MB / 0.9015 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007689/0.2265, allocations: 370.1 kB / 0.9018 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.2282, allocations: 1.301 MB / 0.9031 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.228e-05/0.2283, allocations: 0 / 0.9031 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.2283, allocations: 0 / 0.9031 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.325e-05/0.2283, allocations: 0 / 0.9031 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003689/0.2287, allocations: 55.88 kB / 0.9031 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.298e-05/0.2288, allocations: 19.92 kB / 0.9032 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.2288, allocations: 4 kB / 0.9032 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.443e-05/0.2288, allocations: 11.98 kB / 0.9032 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.019e-05/0.2289, allocations: 19.86 kB / 0.9032 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.2289, allocations: 7.938 kB / 0.9032 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.2292, allocations: 95.89 kB / 0.9033 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.2292, allocations: 7.984 kB / 0.9033 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.2292, allocations: 33.64 kB / 0.9033 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.2294, allocations: 47.88 kB / 0.9034 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2294, allocations: 0 / 0.9034 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2294, allocations: 0 / 0.9034 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.2294, allocations: 0 / 0.9034 GB, free: 61.34 MB / 0.6042 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.0003774/0.2298, allocations: 349.9 kB / 0.9037 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2298, allocations: 12.03 kB / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.2299, allocations: 0.9375 kB / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.781e-05/0.23, allocations: 164.4 kB / 0.9039 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.23, allocations: 384 / 0.9039 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.23, allocations: 4.375 kB / 0.9039 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.2301, allocations: 61.92 kB / 0.9039 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.2302, allocations: 3.906 kB / 0.9039 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.2302, allocations: 0 / 0.9039 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2302, allocations: 7.984 kB / 0.904 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.21e-05/0.2303, allocations: 23.98 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.2304, allocations: 169.9 kB / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.857e-05/0.2305, allocations: 58.55 kB / 0.9042 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.658e-05/0.2306, allocations: 28.8 kB / 0.9042 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003796/0.231, allocations: 0.5622 MB / 0.9048 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.231, allocations: 38.5 kB / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.231, allocations: 0 / 0.9048 GB, free: 59.59 MB / 0.6042 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.0175/0.2485, allocations: 4.215 MB / 0.9089 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.2486, allocations: 59.41 kB / 0.909 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.415e-05/0.2486, allocations: 93.84 kB / 0.9091 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.084e-05/0.2487, allocations: 33.7 kB / 0.9091 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.473e-05/0.2487, allocations: 80.14 kB / 0.9092 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.934e-05/0.2488, allocations: 51.17 kB / 0.9092 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.834e-05/0.2489, allocations: 4 kB / 0.9092 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.985e-05/0.249, allocations: 318.8 kB / 0.9095 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004311/0.2494, allocations: 311.9 kB / 0.9098 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004237/0.2498, allocations: 308 kB / 0.9101 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.2511, allocations: 0.7573 MB / 0.9109 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2511, allocations: 0 / 0.9109 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001287/0.2524, allocations: 0.7941 MB / 0.9116 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2525, allocations: 4 kB / 0.9116 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2525, allocations: 0 / 0.9116 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.2525, allocations: 0 / 0.9116 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007883/0.2533, allocations: 91.94 kB / 0.9117 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.2533, allocations: 4 kB / 0.9117 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.2538, allocations: 8 kB / 0.9117 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.173e-05/0.2539, allocations: 31.98 kB / 0.9118 GB, free: 52.26 MB / 0.6042 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.0001718/0.2541, allocations: 129.7 kB / 0.9119 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.85e-05/0.2541, allocations: 11.89 kB / 0.9119 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/0.257, allocations: 1.388 MB / 0.9133 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2571, allocations: 4 kB / 0.9133 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2571, allocations: 0 / 0.9133 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2571, allocations: 3.938 kB / 0.9133 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.2595, allocations: 1.794 MB / 0.915 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2595, allocations: 0 / 0.915 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007327/0.2603, allocations: 115.9 kB / 0.9151 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/0.2603, allocations: 0 / 0.9151 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-05/0.2604, allocations: 35.94 kB / 0.9152 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.2604, allocations: 0 / 0.9152 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2604, allocations: 3.969 kB / 0.9152 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.2623, allocations: 1.465 MB / 0.9166 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.2624, allocations: 92.89 kB / 0.9167 GB, free: 47.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.841e-05/0.2625, allocations: 11.94 kB / 0.9167 GB, free: 47.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005282/0.263, allocations: 12 kB / 0.9167 GB, free: 47.08 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.2632, allocations: 43.91 kB / 0.9168 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.038e-05/0.2632, allocations: 31.98 kB / 0.9168 GB, free: 47.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.933e-05/0.2633, allocations: 87.28 kB / 0.9169 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2633, allocations: 0 / 0.9169 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005199/0.2638, allocations: 168 kB / 0.917 GB, free: 46.76 MB / 0.6042 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.0004952/0.2643, allocations: 219.1 kB / 0.9172 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.2653, allocations: 0.7223 MB / 0.9179 GB, free: 45.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.2654, allocations: 0 / 0.9179 GB, free: 45.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005367/0.2659, allocations: 451.9 kB / 0.9184 GB, free: 45.37 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.2662, allocations: 18.11 kB / 0.9184 GB, free: 45.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.2693, allocations: 0.8833 MB / 0.9193 GB, free: 44.44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.2695, allocations: 0.7184 MB / 0.92 GB, free: 43.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005428/0.27, allocations: 91.41 kB / 0.92 GB, free: 43.6 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.27, allocations: 4 kB / 0.92 GB, free: 43.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.009856/0.2799, allocations: 6.841 MB / 0.9267 GB, free: 36.8 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)