Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.517/2.517, allocations: 287.5 MB / 303.2 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001343/0.001343, allocations: 191.1 kB / 371.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.035/2.035, allocations: 205.4 MB / 0.6305 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008906/0.0008904, allocations: 89.11 kB / 0.7438 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.000459, allocations: 17.72 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2081, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9116/1.12, allocations: 138.2 MB / 1.114 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/1.12, allocations: 82.75 kB / 1.114 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008517/1.129, allocations: 1.852 MB / 1.116 GB, free: 31.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.395e-06/1.129, allocations: 0 / 1.116 GB, free: 31.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.816e-06/1.129, allocations: 3.812 kB / 1.116 GB, free: 31.27 MB / 0.698 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.0004708/1.129, allocations: 355 kB / 1.116 GB, free: 30.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/1.129, allocations: 11.62 kB / 1.116 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/1.129, allocations: 1.562 kB / 1.116 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/1.129, allocations: 164.3 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/1.129, allocations: 7.047 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/1.129, allocations: 8.094 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/1.13, allocations: 41.92 kB / 1.117 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/1.13, allocations: 4.188 kB / 1.117 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/1.13, allocations: 11.86 kB / 1.117 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/1.13, allocations: 0 / 1.117 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.761e-05/1.13, allocations: 15.12 kB / 1.117 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/1.13, allocations: 160 kB / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/1.13, allocations: 40.64 kB / 1.117 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.698e-05/1.13, allocations: 22.98 kB / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005892/1.131, allocations: 0.5575 MB / 1.117 GB, free: 29.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/1.131, allocations: 30.56 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.763e-06/1.131, allocations: 0 / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.002582/1.133, allocations: 471.5 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/1.133, allocations: 54.17 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.028e-05/1.134, allocations: 93.61 kB / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/1.134, allocations: 25.7 kB / 1.118 GB, free: 29.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/1.134, allocations: 80.14 kB / 1.118 GB, free: 29.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/1.134, allocations: 41.64 kB / 1.118 GB, free: 29.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/1.134, allocations: 3.688 kB / 1.118 GB, free: 29.15 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.134, allocations: 310.8 kB / 1.119 GB, free: 28.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.586e-05/1.134, allocations: 22.22 kB / 1.119 GB, free: 28.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.144e-05/1.134, allocations: 18.66 kB / 1.119 GB, free: 28.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/1.134, allocations: 51.05 kB / 1.119 GB, free: 28.83 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/1.134, allocations: 0 / 1.119 GB, free: 28.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002016/1.134, allocations: 89.34 kB / 1.119 GB, free: 28.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/1.134, allocations: 3.781 kB / 1.119 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.134, allocations: 7.906 kB / 1.119 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/1.134, allocations: 0 / 1.119 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/1.135, allocations: 13.64 kB / 1.119 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/1.135, allocations: 0 / 1.119 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.421e-05/1.135, allocations: 3.875 kB / 1.119 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/1.135, allocations: 3.938 kB / 1.119 GB, free: 28.79 MB / 0.698 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 9.833e-05/1.135, allocations: 113.6 kB / 1.119 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/1.135, allocations: 7.844 kB / 1.119 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/1.135, allocations: 106.2 kB / 1.119 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.135, allocations: 3.812 kB / 1.119 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.135, allocations: 3.938 kB / 1.119 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/1.135, allocations: 0 / 1.119 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/1.135, allocations: 169.8 kB / 1.119 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.135, allocations: 0 / 1.119 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/1.136, allocations: 23.31 kB / 1.119 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.136, allocations: 0 / 1.119 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/1.136, allocations: 3.875 kB / 1.119 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.136, allocations: 3.141 kB / 1.119 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.136, allocations: 0 / 1.119 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/1.136, allocations: 132.4 kB / 1.119 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/1.136, allocations: 84.95 kB / 1.119 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/1.136, allocations: 6.688 kB / 1.119 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-05/1.136, allocations: 12 kB / 1.119 GB, free: 28.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/1.136, allocations: 3.875 kB / 1.119 GB, free: 28.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/1.136, allocations: 0 / 1.119 GB, free: 28.24 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.668e-05/1.136, allocations: 77.95 kB / 1.119 GB, free: 28.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/1.136, allocations: 3.812 kB / 1.119 GB, free: 28.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003193/1.137, allocations: 31.25 kB / 1.12 GB, free: 28.16 MB / 0.698 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.0002386/1.137, allocations: 131.3 kB / 1.12 GB, free: 28.06 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001723/1.137, allocations: 56.77 kB / 1.12 GB, free: 28.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.137, allocations: 0 / 1.12 GB, free: 28.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.584e-05/1.137, allocations: 30.11 kB / 1.12 GB, free: 28.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/1.137, allocations: 3.938 kB / 1.12 GB, free: 28.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/1.138, allocations: 162.5 kB / 1.12 GB, free: 27.92 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/1.138, allocations: 0.6822 MB / 1.121 GB, free: 27.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000121/1.138, allocations: 11.91 kB / 1.121 GB, free: 27.22 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/1.138, allocations: 11.34 kB / 1.121 GB, free: 27.21 MB / 0.698 GB Notification: Performance of SimCode: time 6.21e-07/1.138, allocations: 0 / 1.121 GB, free: 27.21 MB / 0.698 GB Notification: Performance of Templates: time 0.003575/1.142, allocations: 0.7511 MB / 1.121 GB, free: 27.14 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)