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.331/1.331, allocations: 252 MB / 267.6 MB, free: 10.98 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.00104/0.00104, allocations: 185.6 kB / 327.3 MB, free: 2.227 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.741/1.741, allocations: 205.4 MB / 0.5783 GB, free: 20.54 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.0008886/0.0008884, allocations: 90.14 kB / 0.6829 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003676, allocations: 8.906 kB / 0.797 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2185, allocations: 106.3 MB / 0.9008 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0006722/0.2192, allocations: 346.5 kB / 0.9012 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.2206, allocations: 1.274 MB / 0.9024 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/0.2207, allocations: 0 / 0.9024 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.2207, allocations: 0 / 0.9024 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.29e-05/0.2207, allocations: 0 / 0.9024 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.221, allocations: 51.88 kB / 0.9025 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.063e-05/0.2211, allocations: 19.92 kB / 0.9025 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.783e-05/0.2211, allocations: 7.984 kB / 0.9025 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.168e-05/0.2212, allocations: 8 kB / 0.9025 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.206e-05/0.2212, allocations: 19.92 kB / 0.9025 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.2213, allocations: 0 / 0.9025 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.2215, allocations: 99.83 kB / 0.9026 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.2215, allocations: 4 kB / 0.9026 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.114e-05/0.2215, allocations: 29.7 kB / 0.9026 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.535e-05/0.2216, allocations: 39.94 kB / 0.9027 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2216, allocations: 3.938 kB / 0.9027 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2216, allocations: 0 / 0.9027 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.2216, allocations: 8 kB / 0.9027 GB, free: 62.53 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.0003805/0.222, allocations: 343.3 kB / 0.903 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2221, allocations: 8.031 kB / 0.903 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.2221, allocations: 4 kB / 0.903 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.224e-05/0.2222, allocations: 167 kB / 0.9032 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2222, allocations: 0 / 0.9032 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.2222, allocations: 4 kB / 0.9032 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.2224, allocations: 61.66 kB / 0.9033 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2224, allocations: 3.906 kB / 0.9033 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.2224, allocations: 0 / 0.9033 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2224, allocations: 0 / 0.9033 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.218e-05/0.2225, allocations: 27.92 kB / 0.9033 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.2226, allocations: 169.8 kB / 0.9034 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.953e-05/0.2227, allocations: 58.55 kB / 0.9035 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.2228, allocations: 24.86 kB / 0.9035 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003407/0.2231, allocations: 0.5661 MB / 0.9041 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.363e-05/0.2231, allocations: 30.56 kB / 0.9041 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.2232, allocations: 0 / 0.9041 GB, free: 60.79 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.01776/0.2409, allocations: 4.213 MB / 0.9082 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.241, allocations: 51.41 kB / 0.9083 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.916e-05/0.241, allocations: 97.8 kB / 0.9084 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.89e-05/0.2411, allocations: 33.69 kB / 0.9084 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.263e-05/0.2411, allocations: 80.14 kB / 0.9085 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.021e-05/0.2412, allocations: 59.11 kB / 0.9085 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.2413, allocations: 0 / 0.9085 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.298e-05/0.2413, allocations: 315 kB / 0.9088 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004285/0.2418, allocations: 315.9 kB / 0.9091 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004273/0.2422, allocations: 313.9 kB / 0.9094 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006324/0.2429, allocations: 375.9 kB / 0.9098 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.2429, allocations: 0 / 0.9098 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001273/0.2441, allocations: 0.7864 MB / 0.9106 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2442, allocations: 10.66 kB / 0.9106 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2442, allocations: 0 / 0.9106 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.2442, allocations: 0 / 0.9106 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007399/0.245, allocations: 103.8 kB / 0.9107 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.245, allocations: 0 / 0.9107 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.2454, allocations: 15.94 kB / 0.9107 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/0.2455, allocations: 31.98 kB / 0.9107 GB, free: 53.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.2457, allocations: 113.8 kB / 0.9108 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/0.2458, allocations: 7.984 kB / 0.9108 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002819/0.2486, allocations: 1.393 MB / 0.9122 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2486, allocations: 4 kB / 0.9122 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2486, allocations: 3.953 kB / 0.9122 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.2486, allocations: 4 kB / 0.9122 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.2509, allocations: 1.798 MB / 0.914 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2509, allocations: 0 / 0.914 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006948/0.2516, allocations: 111.9 kB / 0.9141 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.2516, allocations: 4 kB / 0.9141 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-05/0.2517, allocations: 24.03 kB / 0.9141 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.2517, allocations: 11.98 kB / 0.9141 GB, free: 50.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2517, allocations: 0 / 0.9141 GB, free: 50.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.2536, allocations: 1.457 MB / 0.9155 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.2537, allocations: 92.91 kB / 0.9156 GB, free: 48.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.968e-05/0.2538, allocations: 7.938 kB / 0.9156 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/0.2542, allocations: 16 kB / 0.9156 GB, free: 48.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.897e-05/0.2543, allocations: 52.02 kB / 0.9157 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-05/0.2544, allocations: 28 kB / 0.9157 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.901e-05/0.2544, allocations: 75.28 kB / 0.9158 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2544, allocations: 4 kB / 0.9158 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000507/0.2549, allocations: 172 kB / 0.916 GB, free: 48.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004295/0.2554, allocations: 223 kB / 0.9162 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.2564, allocations: 0.7225 MB / 0.9169 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2564, allocations: 4.094 kB / 0.9169 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005101/0.2569, allocations: 451.8 kB / 0.9173 GB, free: 46.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.2572, allocations: 12 kB / 0.9173 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.26, allocations: 0.8796 MB / 0.9182 GB, free: 46.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.2602, allocations: 0.7184 MB / 0.9189 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005195/0.2607, allocations: 95.41 kB / 0.919 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.2607, allocations: 0 / 0.919 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.008618/0.2693, allocations: 6.844 MB / 0.9257 GB, free: 38.38 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)