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.0009862/0.0009862, allocations: 80.39 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.001015/0.001015, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.892/1.892, allocations: 377.9 MB / 0.6247 GB, free: 8.387 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.623e-06/1.623e-06, allocations: 0 / 0.8128 GB, free: 316 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.812e-05, allocations: 2.312 kB / 0.8128 GB, free: 312 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002299/0.002327, allocations: 1.549 MB / 0.8143 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.003486, allocations: 0.7224 MB / 0.815 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.052e-05/0.003557, allocations: 4 kB / 0.815 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.003587, allocations: 3.938 kB / 0.815 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.341e-05/0.00364, allocations: 3.938 kB / 0.815 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.004063, allocations: 101.2 kB / 0.8151 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.004179, allocations: 43.84 kB / 0.8151 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.004283, allocations: 7.938 kB / 0.8151 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.004402, allocations: 28.44 kB / 0.8152 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.785e-05/0.00445, allocations: 13.42 kB / 0.8152 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.004465, allocations: 4 kB / 0.8152 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.004651, allocations: 111.9 kB / 0.8153 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.004665, allocations: 4.469 kB / 0.8153 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.004685, allocations: 11.98 kB / 0.8153 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.004868, allocations: 109 kB / 0.8154 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.004872, allocations: 4 kB / 0.8154 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.422e-06/0.004873, allocations: 0 / 0.8154 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.004879, allocations: 0 / 0.8154 GB, free: 13.6 MB / 0.7292 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.0003745/0.005253, allocations: 389.1 kB / 0.8158 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.005291, allocations: 12.03 kB / 0.8158 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.005421, allocations: 14.27 kB / 0.8158 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.005585, allocations: 132.4 kB / 0.8159 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.005595, allocations: 4.359 kB / 0.8159 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.363e-06/0.005603, allocations: 5.75 kB / 0.8159 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.006001, allocations: 66.86 kB / 0.816 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.00601, allocations: 4.125 kB / 0.816 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.006017, allocations: 384 / 0.816 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.006024, allocations: 4.5 kB / 0.816 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.155e-05/0.006046, allocations: 9.344 kB / 0.816 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.006288, allocations: 244.4 kB / 0.8163 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.149e-05/0.00634, allocations: 38.98 kB / 0.8163 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.441e-05/0.006354, allocations: 9.562 kB / 0.8163 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/0.006517, allocations: 43.97 kB / 0.8163 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.006542, allocations: 35.86 kB / 0.8164 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.006543, allocations: 0 / 0.8164 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001409/0.006684, allocations: 41.69 kB / 0.8164 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.006712, allocations: 55.34 kB / 0.8165 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.704e-05/0.006789, allocations: 169.9 kB / 0.8166 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.006799, allocations: 29.7 kB / 0.8167 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.00685, allocations: 139.3 kB / 0.8168 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.006869, allocations: 8.422 kB / 0.8168 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.006896, allocations: 23.38 kB / 0.8168 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.007016, allocations: 498.1 kB / 0.8173 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.007029, allocations: 3.984 kB / 0.8173 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.637e-06/0.007038, allocations: 0 / 0.8173 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.829e-05/0.007066, allocations: 11.69 kB / 0.8173 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.007068, allocations: 5.969 kB / 0.8173 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.192e-05/0.00713, allocations: 41.58 kB / 0.8174 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.007144, allocations: 5.406 kB / 0.8174 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.007151, allocations: 3.984 kB / 0.8174 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.007162, allocations: 0.625 kB / 0.8174 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.007222, allocations: 4 kB / 0.8174 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.007226, allocations: 0.5312 kB / 0.8174 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.007242, allocations: 8.719 kB / 0.8174 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.00725, allocations: 3.984 kB / 0.8174 GB, free: 11.39 MB / 0.7292 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 8.114e-05/0.007331, allocations: 157.5 kB / 0.8175 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.007351, allocations: 11.89 kB / 0.8175 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.007465, allocations: 50.08 kB / 0.8176 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.007468, allocations: 1.219 kB / 0.8176 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.007471, allocations: 0 / 0.8176 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.007474, allocations: 4 kB / 0.8176 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.007585, allocations: 101.1 kB / 0.8177 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.007587, allocations: 0.8438 kB / 0.8177 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.007622, allocations: 11.98 kB / 0.8177 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.007624, allocations: 1.344 kB / 0.8177 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.00763, allocations: 3.938 kB / 0.8177 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.007631, allocations: 4 kB / 0.8177 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007632, allocations: 1.188 kB / 0.8177 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.007742, allocations: 183.9 kB / 0.8179 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.007752, allocations: 11.94 kB / 0.8179 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.007762, allocations: 5 kB / 0.8179 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.99e-05/0.007792, allocations: 0 / 0.8179 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/0.007818, allocations: 7.984 kB / 0.8179 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.00782, allocations: 1.094 kB / 0.8179 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.226e-05/0.007863, allocations: 127.1 kB / 0.818 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007863, allocations: 0 / 0.818 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001762/0.008039, allocations: 21.05 kB / 0.8181 GB, free: 10.65 MB / 0.7292 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.0001694/0.008208, allocations: 108.2 kB / 0.8182 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.849e-05/0.008287, allocations: 19.67 kB / 0.8182 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.008289, allocations: 0.5 kB / 0.8182 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.659e-05/0.008305, allocations: 13.19 kB / 0.8182 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.008471, allocations: 3.938 kB / 0.8182 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003968/0.008868, allocations: 158.6 kB / 0.8184 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.348e-05/0.008901, allocations: 56.7 kB / 0.8184 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.948e-05/0.008921, allocations: 0 / 0.8184 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.008964, allocations: 74.19 kB / 0.8185 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/0.008964, allocations: 0.7812 kB / 0.8185 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of Templates: time 0.002372/0.01134, allocations: 0.6054 MB / 0.8191 GB, free: 9.578 MB / 0.7292 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.159019346348941]