Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.353/2.353, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 174.7 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.465/2.465, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009333/0.0009332, allocations: 99.36 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006466/0.0006468, allocations: 17.12 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2167, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007672/0.2175, allocations: 342.3 kB / 0.8998 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.2191, allocations: 1.024 MB / 0.9008 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.2191, allocations: 3.938 kB / 0.9008 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.2192, allocations: 4 kB / 0.9008 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.08e-05/0.2192, allocations: 0 / 0.9008 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.2195, allocations: 63.81 kB / 0.9009 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.272e-05/0.2196, allocations: 11.98 kB / 0.9009 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.278e-05/0.2197, allocations: 0 / 0.9009 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.156e-05/0.2197, allocations: 11.98 kB / 0.9009 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.454e-05/0.2198, allocations: 7.938 kB / 0.9009 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.2198, allocations: 4 kB / 0.9009 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.2201, allocations: 87.89 kB / 0.901 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.2201, allocations: 4 kB / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/0.2201, allocations: 25.7 kB / 0.9011 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.2202, allocations: 43.94 kB / 0.9011 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2203, allocations: 0 / 0.9011 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2203, allocations: 0 / 0.9011 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2203, allocations: 0 / 0.9011 GB, free: 63.88 MB / 0.6042 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.0003984/0.2207, allocations: 335.5 kB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.2207, allocations: 8.031 kB / 0.9014 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.2208, allocations: 0.9375 kB / 0.9014 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.972e-05/0.2209, allocations: 172.3 kB / 0.9016 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.2209, allocations: 4.375 kB / 0.9016 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.221, allocations: 4.375 kB / 0.9016 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.2211, allocations: 42.25 kB / 0.9016 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2211, allocations: 192 / 0.9016 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.2211, allocations: 3.938 kB / 0.9016 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.2211, allocations: 4 kB / 0.9016 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.946e-05/0.2212, allocations: 16 kB / 0.9017 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.2214, allocations: 157.7 kB / 0.9018 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.2215, allocations: 50.56 kB / 0.9019 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.2216, allocations: 20.97 kB / 0.9019 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005003/0.2221, allocations: 0.5583 MB / 0.9024 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.2221, allocations: 38.48 kB / 0.9025 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.744e-06/0.2221, allocations: 4 kB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.002504/0.2246, allocations: 462.2 kB / 0.9029 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.847e-05/0.2247, allocations: 55.41 kB / 0.903 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.032e-05/0.2248, allocations: 93.86 kB / 0.9031 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.2248, allocations: 25.7 kB / 0.9031 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.977e-05/0.2248, allocations: 84.14 kB / 0.9032 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.2249, allocations: 27.58 kB / 0.9032 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.2249, allocations: 4 kB / 0.9032 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.531e-05/0.2249, allocations: 314.8 kB / 0.9035 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-05/0.225, allocations: 16.11 kB / 0.9035 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.466e-05/0.2251, allocations: 27.98 kB / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.979e-05/0.2252, allocations: 20 kB / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2252, allocations: 0 / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001975/0.2254, allocations: 93.47 kB / 0.9036 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.2254, allocations: 7.938 kB / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2254, allocations: 0 / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2254, allocations: 0 / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.2257, allocations: 16 kB / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2257, allocations: 0 / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.712e-05/0.2258, allocations: 0 / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.2258, allocations: 12.42 kB / 0.9037 GB, free: 60.85 MB / 0.6042 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 7.5e-05/0.2259, allocations: 113.8 kB / 0.9038 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.2259, allocations: 7.938 kB / 0.9038 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.2262, allocations: 97.91 kB / 0.9039 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.2262, allocations: 7.938 kB / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2262, allocations: 0 / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.2263, allocations: 89 kB / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.2263, allocations: 0 / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.13e-05/0.2264, allocations: 8 kB / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.2264, allocations: 0 / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002884/0.2267, allocations: 161 kB / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003181/0.2271, allocations: 294.8 kB / 0.9044 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.798e-05/0.2272, allocations: 24.02 kB / 0.9044 GB, free: 60 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.045e-05/0.2272, allocations: 75.28 kB / 0.9045 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of Backend: time 6.62e-07/0.2272, allocations: 4 kB / 0.9045 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006205/0.2279, allocations: 134.3 kB / 0.9046 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003741/0.2282, allocations: 0.5879 MB / 0.9052 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of Templates: time 0.004382/0.2326, allocations: 0.9637 MB / 0.9062 GB, free: 58.2 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)