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.001243/0.001243, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 195.5 kB / 16.53 MB, free: 6.672 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.773/2.773, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 64.38 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3594, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001892/0.3613, allocations: 0.605 MB / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.3629, allocations: 1.301 MB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.3629, allocations: 0 / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.3629, allocations: 0 / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 1.879e-05/0.363, allocations: 0 / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.3633, allocations: 75.73 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.019e-05/0.3634, allocations: 23.91 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.3634, allocations: 4 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.582e-05/0.3635, allocations: 11.98 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.81e-05/0.3635, allocations: 15.92 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.3636, allocations: 4 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.3638, allocations: 99.89 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.3638, allocations: 7.938 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.3638, allocations: 15.91 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.364, allocations: 63.92 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.364, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.364, allocations: 3.938 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.364, allocations: 0 / 1.07 GB, free: 8.199 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.0004708/0.3645, allocations: 343.8 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3645, allocations: 16.03 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.3646, allocations: 4.844 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.3647, allocations: 172.3 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3647, allocations: 8.312 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.3647, allocations: 4.375 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.3649, allocations: 57.98 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3649, allocations: 0 / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3649, allocations: 0 / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3649, allocations: 0 / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.254e-05/0.365, allocations: 27.97 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.3652, allocations: 165.7 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.3653, allocations: 62.56 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/0.3654, allocations: 32.84 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005185/0.3659, allocations: 0.5544 MB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.3659, allocations: 38.5 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.472e-06/0.3659, allocations: 0 / 1.072 GB, free: 6.441 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.01994/0.3859, allocations: 4.379 MB / 1.076 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.3859, allocations: 51.41 kB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.913e-05/0.386, allocations: 93.86 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.744e-05/0.3861, allocations: 25.7 kB / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/0.3861, allocations: 88.12 kB / 1.076 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.3863, allocations: 55.2 kB / 1.076 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/0.3865, allocations: 89.58 kB / 1.076 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3866, allocations: 326.8 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005166/0.3871, allocations: 308 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005084/0.3877, allocations: 309.4 kB / 1.077 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.3892, allocations: 0.7793 MB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3892, allocations: 0 / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001543/0.3907, allocations: 0.7951 MB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3908, allocations: 8 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3908, allocations: 0 / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3908, allocations: 0 / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008453/0.3917, allocations: 95.88 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3917, allocations: 0 / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/0.3922, allocations: 16 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-05/0.3923, allocations: 36.05 kB / 1.079 GB, free: 14.81 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.0001776/0.3925, allocations: 113.8 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.653e-05/0.3926, allocations: 8 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003316/0.3959, allocations: 1.414 MB / 1.081 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.3959, allocations: 4 kB / 1.081 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.396, allocations: 4 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.396, allocations: 3.984 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/0.3989, allocations: 1.813 MB / 1.082 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3989, allocations: 0 / 1.082 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008157/0.3998, allocations: 103.9 kB / 1.082 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.3998, allocations: 4 kB / 1.082 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.407e-05/0.3999, allocations: 31.94 kB / 1.082 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3999, allocations: 0 / 1.082 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3999, allocations: 4 kB / 1.082 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.4023, allocations: 1.481 MB / 1.084 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.4024, allocations: 88.98 kB / 1.084 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.913e-05/0.4025, allocations: 15.94 kB / 1.084 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000557/0.403, allocations: 11.98 kB / 1.084 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.4032, allocations: 43.97 kB / 1.084 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-05/0.4033, allocations: 24 kB / 1.084 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.865e-05/0.4033, allocations: 79.28 kB / 1.084 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4033, allocations: 8.094 kB / 1.084 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006284/0.404, allocations: 176 kB / 1.084 GB, free: 9.277 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.0006113/0.4046, allocations: 227.6 kB / 1.085 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.406, allocations: 0.7456 MB / 1.085 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.406, allocations: 0 / 1.085 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000681/0.4067, allocations: 451.8 kB / 1.086 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.4071, allocations: 13.88 kB / 1.086 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/0.4107, allocations: 0.8015 MB / 1.087 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.411, allocations: 0.7181 MB / 1.087 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001405/0.4125, allocations: 289.5 kB / 1.087 GB, free: 5.992 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005337/0.413, allocations: 95.41 kB / 1.088 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of SimCode: time 6.62e-07/0.413, allocations: 4 kB / 1.088 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of Templates: time 0.01806/0.4311, allocations: 11.22 MB / 1.099 GB, free: 10.73 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)