Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 166.8 kB / 24.87 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.039/1.039, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.831/1.831, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0.7656 kB / 0.7884 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.665e-05, allocations: 4.844 kB / 0.7884 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001075/0.001092, allocations: 0.6082 MB / 0.789 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.002403, allocations: 1.32 MB / 0.7902 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.737e-05/0.00242, allocations: 0.625 kB / 0.7902 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.345e-05/0.002434, allocations: 0 / 0.7902 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.252e-06/0.00244, allocations: 1.406 kB / 0.7902 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.002758, allocations: 63.69 kB / 0.7903 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.577e-05/0.002794, allocations: 4.844 kB / 0.7903 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.16e-05/0.002826, allocations: 0 / 0.7903 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.302e-05/0.002849, allocations: 4 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.069e-05/0.002889, allocations: 8.547 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.002899, allocations: 0.6875 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.00313, allocations: 99.88 kB / 0.7904 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.947e-06/0.003139, allocations: 0.9062 kB / 0.7904 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.189e-05/0.003151, allocations: 4 kB / 0.7904 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.003265, allocations: 84.31 kB / 0.7905 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003267, allocations: 0 / 0.7905 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.31e-07/0.003267, allocations: 1.656 kB / 0.7905 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.003271, allocations: 0 / 0.7905 GB, free: 9.973 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002177/0.003488, allocations: 352.2 kB / 0.7908 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.003517, allocations: 12.03 kB / 0.7909 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.992e-05/0.003537, allocations: 2.531 kB / 0.7909 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.028e-05/0.003587, allocations: 108.6 kB / 0.791 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.003597, allocations: 384 / 0.791 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.509e-06/0.003602, allocations: 384 / 0.791 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.091e-05/0.003652, allocations: 31.2 kB / 0.791 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.059e-06/0.003657, allocations: 192 / 0.791 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.459e-06/0.003662, allocations: 384 / 0.791 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.003666, allocations: 7.25 kB / 0.791 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.156e-05/0.003678, allocations: 7.938 kB / 0.791 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.221e-05/0.00375, allocations: 93.25 kB / 0.7911 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.047e-05/0.003781, allocations: 23.06 kB / 0.7911 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.052e-05/0.003791, allocations: 11.78 kB / 0.7911 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/0.003978, allocations: 36.69 kB / 0.7912 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.003997, allocations: 37.39 kB / 0.7912 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.003997, allocations: 0.5312 kB / 0.7912 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 8.402e-05/0.004081, allocations: 42.69 kB / 0.7912 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.004104, allocations: 51.41 kB / 0.7913 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.888e-05/0.004143, allocations: 146.9 kB / 0.7914 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.00415, allocations: 25.7 kB / 0.7915 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.942e-05/0.00418, allocations: 131.4 kB / 0.7916 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.004204, allocations: 1.375 kB / 0.7916 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/0.004224, allocations: 19.31 kB / 0.7916 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.004327, allocations: 0.4883 MB / 0.7921 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-06/0.004332, allocations: 0 / 0.7921 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-06/0.004336, allocations: 1.156 kB / 0.7921 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.044e-05/0.004357, allocations: 11.69 kB / 0.7921 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.004358, allocations: 0.9375 kB / 0.7921 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.627e-05/0.004395, allocations: 41.62 kB / 0.7921 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.004404, allocations: 5.562 kB / 0.7921 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.004407, allocations: 4 kB / 0.7921 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.733e-06/0.004414, allocations: 0 / 0.7921 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.497e-05/0.004439, allocations: 4 kB / 0.7921 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.004441, allocations: 1.344 kB / 0.7921 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.945e-06/0.004449, allocations: 3.938 kB / 0.7921 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.004454, allocations: 4 kB / 0.7921 GB, free: 8.113 MB / 0.7448 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 (1): * Single equations (assignments): 1 * 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 5.439e-05/0.004509, allocations: 156 kB / 0.7923 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-06/0.004513, allocations: 4.328 kB / 0.7923 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/0.004568, allocations: 40.62 kB / 0.7923 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.00457, allocations: 4 kB / 0.7923 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.004571, allocations: 0 / 0.7923 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.004574, allocations: 0 / 0.7923 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.311e-05/0.004627, allocations: 97.16 kB / 0.7924 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.004627, allocations: 0.7188 kB / 0.7924 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-06/0.004635, allocations: 4 kB / 0.7924 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.004636, allocations: 4.484 kB / 0.7924 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-06/0.00464, allocations: 4.562 kB / 0.7924 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-07/0.004641, allocations: 0 / 0.7924 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.004642, allocations: 0.5625 kB / 0.7924 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.357e-05/0.004685, allocations: 69.8 kB / 0.7925 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-06/0.004688, allocations: 0 / 0.7925 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-06/0.004694, allocations: 0 / 0.7925 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.661e-06/0.0047, allocations: 7.984 kB / 0.7925 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-06/0.004709, allocations: 4.469 kB / 0.7925 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.62e-07/0.00471, allocations: 1.594 kB / 0.7925 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.844e-05/0.004739, allocations: 119.2 kB / 0.7926 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.004739, allocations: 0 / 0.7926 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001378/0.004877, allocations: 11.94 kB / 0.7927 GB, free: 7.535 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001017/0.004978, allocations: 116.2 kB / 0.7928 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.101e-05/0.005029, allocations: 16.22 kB / 0.7928 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.00503, allocations: 0.8125 kB / 0.7928 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.843e-06/0.005037, allocations: 11.69 kB / 0.7928 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.368e-05/0.005121, allocations: 10.36 kB / 0.7928 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001249/0.005246, allocations: 83.95 kB / 0.7929 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.407e-05/0.00527, allocations: 56.69 kB / 0.7929 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.446e-05/0.005284, allocations: 0.9688 kB / 0.7929 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.00531, allocations: 74.14 kB / 0.793 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.005311, allocations: 2.312 kB / 0.793 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of Templates: time 0.001624/0.006934, allocations: 466.8 kB / 0.7935 GB, free: 6.672 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.947002587839961]