Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Splice.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.001546/0.001546, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001978/0.001978, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.042/1.042, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.916/1.916, allocations: 377.8 MB / 0.6239 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.097e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001901/0.001922, allocations: 1.546 MB / 0.813 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008954/0.002817, allocations: 0.7149 MB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.002871, allocations: 0.9062 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.002899, allocations: 7.922 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.029e-05/0.002949, allocations: 16.8 kB / 0.8138 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.003293, allocations: 88.38 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.003397, allocations: 43.84 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.881e-05/0.003486, allocations: 9.688 kB / 0.8139 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.003655, allocations: 31.91 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.994e-05/0.003695, allocations: 7.984 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.00371, allocations: 4 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.003861, allocations: 113.3 kB / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.003873, allocations: 11.92 kB / 0.8141 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.003895, allocations: 12 kB / 0.8141 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.00405, allocations: 103.6 kB / 0.8142 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004053, allocations: 1.594 kB / 0.8142 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004053, allocations: 0 / 0.8142 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.004057, allocations: 0 / 0.8142 GB, free: 15.36 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003448/0.004402, allocations: 396.3 kB / 0.8146 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.004436, allocations: 8.562 kB / 0.8146 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.004554, allocations: 18.58 kB / 0.8146 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.004687, allocations: 124.5 kB / 0.8147 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.004696, allocations: 8.312 kB / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.004706, allocations: 4.359 kB / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.004811, allocations: 59.45 kB / 0.8148 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.004816, allocations: 0.7812 kB / 0.8148 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.004825, allocations: 384 / 0.8148 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.004833, allocations: 4.719 kB / 0.8148 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.04e-05/0.004863, allocations: 15.98 kB / 0.8148 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.005113, allocations: 272.8 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.591e-05/0.005159, allocations: 31 kB / 0.8151 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.005178, allocations: 13.12 kB / 0.8151 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.005342, allocations: 41.7 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.00536, allocations: 33.39 kB / 0.8152 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.005361, allocations: 0 / 0.8152 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001411/0.005502, allocations: 49.62 kB / 0.8152 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.005526, allocations: 52.12 kB / 0.8153 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.144e-05/0.005598, allocations: 165.9 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.005606, allocations: 26.52 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.005651, allocations: 142.8 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.005665, allocations: 6.734 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.005691, allocations: 27.36 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.005796, allocations: 492.1 kB / 0.8161 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.329e-05/0.005809, allocations: 4 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.005817, allocations: 0 / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/0.005848, allocations: 23.61 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.00585, allocations: 5.562 kB / 0.8161 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.186e-05/0.005902, allocations: 37.64 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.005914, allocations: 6.812 kB / 0.8162 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.005919, allocations: 0 / 0.8162 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.00593, allocations: 0.5312 kB / 0.8162 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.057e-05/0.005981, allocations: 12.55 kB / 0.8162 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.005987, allocations: 4 kB / 0.8162 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.341e-05/0.006, allocations: 0.5625 kB / 0.8162 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.006006, allocations: 5.359 kB / 0.8162 GB, free: 13.12 MB / 0.7761 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 (2): * Single equations (assignments): 2 * 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.718e-05/0.006063, allocations: 160.6 kB / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.006079, allocations: 7.891 kB / 0.8163 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.898e-05/0.006158, allocations: 51.84 kB / 0.8164 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.006161, allocations: 7.938 kB / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.006165, allocations: 3.984 kB / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.006168, allocations: 3.984 kB / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.891e-05/0.006267, allocations: 120.6 kB / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.006268, allocations: 0 / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-05/0.00629, allocations: 8.469 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.006291, allocations: 0 / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.006297, allocations: 0.7188 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006298, allocations: 0 / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006299, allocations: 0.6562 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.491e-05/0.006384, allocations: 196.9 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-06/0.006391, allocations: 7.938 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.006401, allocations: 0 / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.761e-05/0.006428, allocations: 1.062 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.006455, allocations: 3.984 kB / 0.8167 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.00646, allocations: 4 kB / 0.8167 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.713e-05/0.006497, allocations: 132 kB / 0.8169 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006497, allocations: 0 / 0.8169 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000158/0.006655, allocations: 18.16 kB / 0.8169 GB, free: 12.34 MB / 0.7761 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 (2): * Single equations (assignments): 2 * 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.0001247/0.00678, allocations: 111.2 kB / 0.817 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.295e-05/0.006853, allocations: 19.69 kB / 0.817 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.006854, allocations: 0 / 0.817 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.63e-05/0.00687, allocations: 16.62 kB / 0.817 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.007022, allocations: 0 / 0.817 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004337/0.007456, allocations: 148.5 kB / 0.8172 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.515e-05/0.007491, allocations: 63.2 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.558e-05/0.007507, allocations: 0 / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.924e-05/0.007526, allocations: 9.5 kB / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of SimCode: time 1.132e-06/0.007527, allocations: 4 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of Templates: time 0.002225/0.009752, allocations: 0.5432 MB / 0.8178 GB, free: 11.39 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Splice.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: 5.229010276030749]