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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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.008725/0.008725, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001212/0.001212, allocations: 188.6 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4592/0.4592, allocations: 95.48 MB / 365.4 MB, free: 12.16 MB / 318.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 72.47 kB / 0.5036 GB, free: 11.83 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4562, allocations: 69.09 MB / 0.5711 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002263/0.4585, allocations: 0.537 MB / 0.5716 GB, free: 3.594 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.4602, allocations: 1.04 MB / 0.5726 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.4602, allocations: 3.938 kB / 0.5727 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.393e-05/0.4603, allocations: 0 / 0.5727 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.067e-06/0.4603, allocations: 4 kB / 0.5727 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.4608, allocations: 75.73 kB / 0.5727 GB, free: 2.457 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.645e-05/0.4609, allocations: 4 kB / 0.5727 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.887e-05/0.461, allocations: 7.984 kB / 0.5727 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.074e-05/0.461, allocations: 4 kB / 0.5727 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.165e-05/0.4611, allocations: 3.938 kB / 0.5727 GB, free: 2.438 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.4611, allocations: 0 / 0.5727 GB, free: 2.438 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.4613, allocations: 91.89 kB / 0.5728 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.4613, allocations: 3.984 kB / 0.5728 GB, free: 2.344 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.4614, allocations: 8 kB / 0.5728 GB, free: 2.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.4615, allocations: 51.94 kB / 0.5729 GB, free: 2.285 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4615, allocations: 0 / 0.5729 GB, free: 2.285 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4616, allocations: 0 / 0.5729 GB, free: 2.285 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.4616, allocations: 4 kB / 0.5729 GB, free: 2.281 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004743/0.462, allocations: 323.5 kB / 0.5732 GB, free: 1.918 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.4621, allocations: 15.98 kB / 0.5732 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/0.4622, allocations: 0.9375 kB / 0.5732 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.4623, allocations: 164.3 kB / 0.5734 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.4623, allocations: 15.86 kB / 0.5734 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.4624, allocations: 8 kB / 0.5734 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.4625, allocations: 29.7 kB / 0.5734 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4625, allocations: 0 / 0.5734 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.4626, allocations: 0 / 0.5734 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4626, allocations: 0 / 0.5734 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.088e-05/0.4626, allocations: 4 kB / 0.5734 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002223/0.4628, allocations: 157.6 kB / 0.5736 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.834e-05/0.4629, allocations: 22.55 kB / 0.5736 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.826e-05/0.4629, allocations: 16.92 kB / 0.5736 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007813/0.4637, allocations: 0.5583 MB / 0.5742 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.4638, allocations: 30.56 kB / 0.5742 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.4638, allocations: 0 / 0.5742 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0007569/0.4646, allocations: 258.1 kB / 0.5744 GB, free: 368 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.4646, allocations: 51.41 kB / 0.5745 GB, free: 304 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.677e-05/0.4647, allocations: 89.86 kB / 0.5746 GB, free: 204 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.4647, allocations: 25.7 kB / 0.5746 GB, free: 172 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.553e-05/0.4648, allocations: 80.14 kB / 0.5747 GB, free: 88 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.788e-05/0.4649, allocations: 15.8 kB / 0.5747 GB, free: 72 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.4649, allocations: 13.72 kB / 0.5747 GB, free: 52 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000247/0.4652, allocations: 322.9 kB / 0.575 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.604e-05/0.4652, allocations: 4 kB / 0.575 GB, free: 15.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.672e-05/0.4653, allocations: 21.64 kB / 0.575 GB, free: 15.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.507e-05/0.4653, allocations: 29.66 kB / 0.5751 GB, free: 15.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.4653, allocations: 0 / 0.5751 GB, free: 15.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.447e-05/0.4654, allocations: 57.62 kB / 0.5751 GB, free: 15.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.4655, allocations: 8.062 kB / 0.5751 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.4655, allocations: 0 / 0.5751 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.4655, allocations: 4 kB / 0.5751 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.958e-05/0.4656, allocations: 4 kB / 0.5751 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.4656, allocations: 0 / 0.5751 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.005e-05/0.4656, allocations: 4 kB / 0.5751 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.4657, allocations: 0 / 0.5751 GB, free: 15.58 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001113/0.4658, allocations: 114.4 kB / 0.5753 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.4658, allocations: 11.92 kB / 0.5753 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.466, allocations: 57.12 kB / 0.5753 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.466, allocations: 3.938 kB / 0.5753 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/0.466, allocations: 0 / 0.5753 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.466, allocations: 0 / 0.5753 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.4662, allocations: 157.6 kB / 0.5755 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4662, allocations: 0 / 0.5755 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.652e-05/0.4662, allocations: 8 kB / 0.5755 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4662, allocations: 4 kB / 0.5755 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.4663, allocations: 0 / 0.5755 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4663, allocations: 0 / 0.5755 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4663, allocations: 0 / 0.5755 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.4665, allocations: 80.98 kB / 0.5756 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.956e-05/0.4666, allocations: 81.11 kB / 0.5756 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.4666, allocations: 4.031 kB / 0.5756 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.232e-05/0.4666, allocations: 4.062 kB / 0.5756 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.4666, allocations: 0 / 0.5756 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.4667, allocations: 4 kB / 0.5757 GB, free: 14.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.71e-05/0.4667, allocations: 75.28 kB / 0.5757 GB, free: 14.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4667, allocations: 0 / 0.5757 GB, free: 14.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.467, allocations: 19.98 kB / 0.5757 GB, free: 14.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0003133/0.4673, allocations: 128.3 kB / 0.5759 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.4674, allocations: 16.23 kB / 0.5759 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.4674, allocations: 0 / 0.5759 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.278e-05/0.4675, allocations: 15.91 kB / 0.5759 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.4676, allocations: 11.94 kB / 0.5759 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.468, allocations: 97.78 kB / 0.576 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.4683, allocations: 0.6729 MB / 0.5767 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.016e-05/0.4684, allocations: 12.11 kB / 0.5767 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.4684, allocations: 7.438 kB / 0.5767 GB, free: 13.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4684, allocations: 0 / 0.5767 GB, free: 13.84 MB / 446.1 MB Notification: Performance of Templates: time 0.003804/0.4722, allocations: 0.6289 MB / 0.5773 GB, free: 13.22 MB / 446.1 MB 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)