Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.758/2.758, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002025/0.002025, allocations: 185.5 kB / 325.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.488/2.488, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 89.7 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.0004968, allocations: 14.56 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.222, allocations: 106.3 MB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007955/0.2229, allocations: 346.1 kB / 0.8994 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.2244, allocations: 1.02 MB / 0.9004 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.2244, allocations: 0 / 0.9004 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.051e-05/0.2244, allocations: 7.938 kB / 0.9004 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.629e-05/0.2245, allocations: 0 / 0.9004 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.2248, allocations: 63.81 kB / 0.9004 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.461e-05/0.2249, allocations: 11.98 kB / 0.9005 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.753e-05/0.2249, allocations: 4 kB / 0.9005 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.234e-05/0.225, allocations: 7.984 kB / 0.9005 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.444e-05/0.225, allocations: 11.94 kB / 0.9005 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.2251, allocations: 0 / 0.9005 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.2253, allocations: 91.89 kB / 0.9006 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.2253, allocations: 4 kB / 0.9006 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.2254, allocations: 29.7 kB / 0.9006 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.2255, allocations: 39.94 kB / 0.9006 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2255, allocations: 3.938 kB / 0.9006 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2255, allocations: 0 / 0.9006 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2255, allocations: 0 / 0.9006 GB, free: 63.74 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004036/0.2259, allocations: 331.5 kB / 0.901 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.226, allocations: 8.031 kB / 0.901 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.226, allocations: 12.92 kB / 0.901 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.183e-05/0.2261, allocations: 164.3 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.2261, allocations: 4.375 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.2262, allocations: 4.375 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.2263, allocations: 42.25 kB / 0.9012 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.2263, allocations: 192 / 0.9012 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.2264, allocations: 7.922 kB / 0.9012 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2264, allocations: 0 / 0.9012 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.895e-05/0.2264, allocations: 15.98 kB / 0.9012 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.2266, allocations: 161.7 kB / 0.9014 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.2267, allocations: 42.52 kB / 0.9014 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/0.2268, allocations: 20.97 kB / 0.9014 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005126/0.2273, allocations: 0.5583 MB / 0.902 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.2273, allocations: 38.56 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.2274, allocations: 3.938 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.00237/0.2297, allocations: 462.6 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.2298, allocations: 55.41 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.618e-05/0.2298, allocations: 93.86 kB / 0.9026 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.2299, allocations: 25.7 kB / 0.9026 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.86e-05/0.2299, allocations: 84.12 kB / 0.9027 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.2299, allocations: 23.66 kB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.23, allocations: 7.938 kB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.23, allocations: 314.8 kB / 0.903 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-05/0.2301, allocations: 24.12 kB / 0.903 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.378e-05/0.2302, allocations: 15.98 kB / 0.9031 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.822e-05/0.2302, allocations: 20.19 kB / 0.9031 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.2303, allocations: 0 / 0.9031 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001878/0.2304, allocations: 97.41 kB / 0.9032 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2305, allocations: 11.94 kB / 0.9032 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2305, allocations: 0 / 0.9032 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.2305, allocations: 0 / 0.9032 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.2307, allocations: 12 kB / 0.9032 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2307, allocations: 3.984 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.517e-05/0.2308, allocations: 4 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.2308, allocations: 4 kB / 0.9032 GB, free: 60.71 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 (9): * Single equations (assignments): 9 * 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 7.347e-05/0.2309, allocations: 113.8 kB / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.2309, allocations: 7.938 kB / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002947/0.2312, allocations: 105.7 kB / 0.9034 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2312, allocations: 0 / 0.9034 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2312, allocations: 0 / 0.9034 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2313, allocations: 3.984 kB / 0.9034 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.2314, allocations: 173.5 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2314, allocations: 0 / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.2316, allocations: 19.92 kB / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2316, allocations: 0 / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.2316, allocations: 0 / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2316, allocations: 3.938 kB / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2317, allocations: 4 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.2319, allocations: 137 kB / 0.9038 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.232, allocations: 81.05 kB / 0.9038 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.232, allocations: 0 / 0.9038 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.505e-05/0.2321, allocations: 8.031 kB / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-05/0.2321, allocations: 3.984 kB / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.2322, allocations: 8.062 kB / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.255e-05/0.2322, allocations: 79.34 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2322, allocations: 0 / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002715/0.2325, allocations: 28.09 kB / 0.904 GB, free: 59.85 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0002129/0.2327, allocations: 127.1 kB / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001775/0.2329, allocations: 51.97 kB / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.2329, allocations: 0 / 0.9041 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.603e-05/0.233, allocations: 31.88 kB / 0.9042 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.2332, allocations: 10.44 kB / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.2336, allocations: 160.9 kB / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.2338, allocations: 0.6809 MB / 0.905 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001135/0.2339, allocations: 12 kB / 0.905 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.234, allocations: 7.438 kB / 0.905 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of SimCode: time 6.31e-07/0.234, allocations: 4 kB / 0.905 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.003669/0.2376, allocations: 0.7851 MB / 0.9058 GB, free: 57.94 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)