Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001345, allocations: 189.1 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 472.6 MB / 0.7448 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 68.77 kB / 0.9115 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3496, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001891/0.3515, allocations: 0.6619 MB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00182/0.3534, allocations: 1.289 MB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.006e-05/0.3534, allocations: 0 / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.3534, allocations: 0 / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3e-05/0.3535, allocations: 3.938 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.3539, allocations: 59.88 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.053e-05/0.3539, allocations: 23.92 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.354, allocations: 7.984 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.361e-05/0.354, allocations: 12 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.594e-05/0.3541, allocations: 15.92 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.3541, allocations: 0 / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.3543, allocations: 99.89 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.3543, allocations: 15.92 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.3544, allocations: 11.92 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.3545, allocations: 63.91 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.3545, allocations: 0 / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3545, allocations: 11.88 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.3545, allocations: 0 / 1.07 GB, free: 8.457 MB / 0.8262 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.0004653/0.355, allocations: 347.8 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3551, allocations: 8.031 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.3551, allocations: 4.844 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.3552, allocations: 168.3 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3553, allocations: 4.375 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.3553, allocations: 4.375 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.3554, allocations: 57.98 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3555, allocations: 0 / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3555, allocations: 8 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.3555, allocations: 0 / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.472e-05/0.3555, allocations: 27.92 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.3558, allocations: 169.6 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.3559, allocations: 58.55 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.3559, allocations: 24.86 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007077/0.3566, allocations: 0.5622 MB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.3567, allocations: 34.5 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.3567, allocations: 0 / 1.071 GB, free: 6.707 MB / 0.8262 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.0217/0.3784, allocations: 4.377 MB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.3785, allocations: 55.34 kB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.21e-05/0.3786, allocations: 93.86 kB / 1.076 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.034e-05/0.3787, allocations: 29.7 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.719e-05/0.3787, allocations: 80.14 kB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.3788, allocations: 55.2 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002859/0.3791, allocations: 101.7 kB / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.3793, allocations: 318.8 kB / 1.076 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005392/0.3799, allocations: 307.9 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/0.3805, allocations: 311.9 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.3822, allocations: 0.769 MB / 1.078 GB, free: 36 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3822, allocations: 0 / 1.078 GB, free: 36 kB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001808/0.384, allocations: 0.8021 MB / 1.078 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.384, allocations: 4 kB / 1.078 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.384, allocations: 3.938 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.384, allocations: 4 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008076/0.3849, allocations: 87.95 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.3849, allocations: 4 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.3854, allocations: 8 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.511e-05/0.3855, allocations: 35.97 kB / 1.079 GB, free: 15.08 MB / 0.8419 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.0002055/0.3857, allocations: 125.7 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.253e-05/0.3858, allocations: 4 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003573/0.3893, allocations: 1.403 MB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3894, allocations: 4 kB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3894, allocations: 3.984 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3894, allocations: 0 / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003225/0.3926, allocations: 1.813 MB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3926, allocations: 0 / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007943/0.3934, allocations: 107.9 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.3935, allocations: 7.938 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.468e-05/0.3936, allocations: 31.92 kB / 1.082 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.3936, allocations: 4 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3936, allocations: 7.969 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.396, allocations: 1.469 MB / 1.083 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.396, allocations: 88.98 kB / 1.084 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.3961, allocations: 19.94 kB / 1.084 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005128/0.3966, allocations: 8 kB / 1.084 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.3968, allocations: 43.97 kB / 1.084 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001791/0.397, allocations: 36.05 kB / 1.084 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.614e-05/0.397, allocations: 75.28 kB / 1.084 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.397, allocations: 3.938 kB / 1.084 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006183/0.3977, allocations: 180 kB / 1.084 GB, free: 9.543 MB / 0.8419 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.0005618/0.3982, allocations: 223 kB / 1.084 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.3996, allocations: 0.7389 MB / 1.085 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3996, allocations: 0 / 1.085 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007711/0.4004, allocations: 455.8 kB / 1.085 GB, free: 8.133 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.4007, allocations: 13.72 kB / 1.085 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/0.404, allocations: 0.8699 MB / 1.086 GB, free: 7.227 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.4043, allocations: 0.7181 MB / 1.087 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001498/0.4058, allocations: 293.5 kB / 1.087 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006532/0.4065, allocations: 95.41 kB / 1.087 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.4065, allocations: 0 / 1.087 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of Templates: time 0.01852/0.425, allocations: 11.22 MB / 1.098 GB, free: 10.93 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)