Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001257/0.001257, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001416/0.001416, allocations: 193 kB / 16.13 MB, free: 6.656 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.902/2.902, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 71.47 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3487, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001831/0.3505, allocations: 0.6814 MB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.3522, allocations: 1.301 MB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.896e-05/0.3522, allocations: 4 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.3522, allocations: 0 / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.136e-05/0.3522, allocations: 0 / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.3526, allocations: 51.81 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.455e-05/0.3526, allocations: 27.97 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.3527, allocations: 4 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.383e-05/0.3527, allocations: 8 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.416e-05/0.3528, allocations: 15.92 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.3528, allocations: 0 / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.353, allocations: 103.9 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.353, allocations: 11.94 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.3531, allocations: 11.94 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.3532, allocations: 63.89 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3532, allocations: 0 / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3532, allocations: 3.938 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.3532, allocations: 0 / 1.07 GB, free: 8.602 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.0004449/0.3537, allocations: 351.9 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.3537, allocations: 8.031 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.3538, allocations: 4.844 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.3539, allocations: 176.3 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.3539, allocations: 384 / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.354, allocations: 4.375 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.3541, allocations: 57.98 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3541, allocations: 4 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3541, allocations: 0 / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3541, allocations: 0 / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.548e-05/0.3542, allocations: 23.98 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.3544, allocations: 161.7 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.3545, allocations: 62.48 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.091e-05/0.3545, allocations: 24.86 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005037/0.3551, allocations: 0.5625 MB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.3551, allocations: 34.5 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.3551, allocations: 0 / 1.071 GB, free: 6.855 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.02041/0.3755, allocations: 4.382 MB / 1.075 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.3756, allocations: 51.41 kB / 1.076 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.316e-05/0.3757, allocations: 93.86 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.795e-05/0.3758, allocations: 29.7 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.3758, allocations: 80.14 kB / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.3759, allocations: 55.2 kB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/0.3762, allocations: 97.69 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3763, allocations: 322.8 kB / 1.076 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005374/0.3768, allocations: 311.9 kB / 1.076 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005639/0.3774, allocations: 311.9 kB / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.379, allocations: 0.7712 MB / 1.078 GB, free: 180 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3791, allocations: 0 / 1.078 GB, free: 180 kB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001628/0.3807, allocations: 0.8002 MB / 1.078 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3807, allocations: 8 kB / 1.078 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3807, allocations: 0 / 1.078 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3808, allocations: 4 kB / 1.078 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008051/0.3816, allocations: 95.88 kB / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3816, allocations: 0 / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.3821, allocations: 12 kB / 1.078 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.779e-05/0.3822, allocations: 31.98 kB / 1.078 GB, free: 15.22 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.0002025/0.3824, allocations: 121.8 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.694e-05/0.3825, allocations: 0 / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/0.3858, allocations: 1.415 MB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3858, allocations: 7.938 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3858, allocations: 0 / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3858, allocations: 0 / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/0.389, allocations: 1.813 MB / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.389, allocations: 0 / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007727/0.3898, allocations: 111.9 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.3898, allocations: 4 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.798e-05/0.3899, allocations: 27.94 kB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.3899, allocations: 4 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3899, allocations: 4.031 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/0.3924, allocations: 1.477 MB / 1.083 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.3925, allocations: 88.98 kB / 1.083 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.3926, allocations: 11.94 kB / 1.083 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004664/0.3931, allocations: 8 kB / 1.083 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.3932, allocations: 43.97 kB / 1.083 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-05/0.3933, allocations: 32.05 kB / 1.083 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.393e-05/0.3934, allocations: 83.28 kB / 1.084 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3934, allocations: 3.938 kB / 1.084 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006595/0.394, allocations: 172 kB / 1.084 GB, free: 9.691 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.0006048/0.3947, allocations: 223.1 kB / 1.084 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.3959, allocations: 0.7223 MB / 1.085 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3959, allocations: 0 / 1.085 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006469/0.3966, allocations: 455.8 kB / 1.085 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.3969, allocations: 12 kB / 1.085 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.4, allocations: 0.8571 MB / 1.086 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.4003, allocations: 0.7185 MB / 1.087 GB, free: 6.66 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001425/0.4017, allocations: 297.5 kB / 1.087 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000598/0.4023, allocations: 95.41 kB / 1.087 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.4024, allocations: 0 / 1.087 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of Templates: time 0.0188/0.4212, allocations: 10.72 MB / 1.097 GB, free: 11.6 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)