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.001284/0.001284, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00144/0.00144, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9443/0.9443, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.84/1.84, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.362e-06/1.362e-06, allocations: 0 / 0.8115 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.212e-05, allocations: 8.844 kB / 0.8115 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001923/0.001945, allocations: 1.551 MB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008761/0.002822, allocations: 0.7224 MB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.002874, allocations: 0.9062 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.335e-05/0.002907, allocations: 3.938 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.391e-05/0.002961, allocations: 8.531 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.00336, allocations: 96.84 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.003468, allocations: 43.84 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.093e-05/0.003559, allocations: 11.98 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.003663, allocations: 28.89 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.26e-05/0.003706, allocations: 15.97 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.003718, allocations: 0.6875 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.003873, allocations: 115.8 kB / 0.8141 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.003883, allocations: 4.688 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.003901, allocations: 4 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.004066, allocations: 112.9 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004068, allocations: 0 / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.143e-06/0.00407, allocations: 0 / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.004074, allocations: 2.125 kB / 0.8142 GB, free: 14.98 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.0003446/0.004418, allocations: 400.2 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.004456, allocations: 12.02 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.004572, allocations: 8.938 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.00471, allocations: 128.4 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.004721, allocations: 5.219 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.00473, allocations: 4.375 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.004836, allocations: 59.59 kB / 0.8148 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.004842, allocations: 192 / 0.8148 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.004852, allocations: 5.094 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.004862, allocations: 7.922 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.573e-05/0.004887, allocations: 5.5 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.005154, allocations: 275.7 kB / 0.8151 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.229e-05/0.005206, allocations: 38.98 kB / 0.8151 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.808e-05/0.005224, allocations: 9.219 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.005387, allocations: 37.81 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.005408, allocations: 37.39 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.005409, allocations: 0 / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001415/0.005551, allocations: 41.62 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.005577, allocations: 56.5 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.382e-05/0.005651, allocations: 169.9 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.005659, allocations: 25.7 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.005954, allocations: 148.2 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.005969, allocations: 3.953 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.005993, allocations: 19.38 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.006092, allocations: 0.4884 MB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.006105, allocations: 4.531 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-06/0.006113, allocations: 0.5938 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.858e-05/0.006142, allocations: 16.16 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.006143, allocations: 0.7812 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.743e-05/0.006201, allocations: 49.62 kB / 0.8162 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.006214, allocations: 4.906 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.006218, allocations: 0 / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.00623, allocations: 0.5312 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.696e-05/0.006287, allocations: 5.375 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.006291, allocations: 0 / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.566e-05/0.006307, allocations: 4 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.006315, allocations: 7.922 kB / 0.8162 GB, free: 12.74 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.947e-05/0.006375, allocations: 157.8 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.00639, allocations: 11.89 kB / 0.8164 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.764e-05/0.006478, allocations: 50.16 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.00648, allocations: 0 / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.006483, allocations: 0 / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.006487, allocations: 4.844 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.691e-05/0.006573, allocations: 120.6 kB / 0.8165 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.006575, allocations: 1.344 kB / 0.8165 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.006594, allocations: 7.938 kB / 0.8165 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.006598, allocations: 11.98 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.006604, allocations: 0 / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.006605, allocations: 0.5625 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.006606, allocations: 0.625 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.035e-05/0.006687, allocations: 193.6 kB / 0.8167 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-06/0.006694, allocations: 7.938 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.006703, allocations: 0 / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.563e-05/0.006729, allocations: 4 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.006757, allocations: 0 / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.006759, allocations: 0.875 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.492e-05/0.006794, allocations: 131.2 kB / 0.8169 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006794, allocations: 3.469 kB / 0.8169 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001558/0.00695, allocations: 19.94 kB / 0.8169 GB, free: 11.97 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.0001191/0.007069, allocations: 118.9 kB / 0.817 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.364e-05/0.007143, allocations: 11.69 kB / 0.817 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.007144, allocations: 0 / 0.817 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.671e-05/0.007161, allocations: 19.61 kB / 0.817 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.007306, allocations: 8 kB / 0.817 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.007705, allocations: 139.7 kB / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.249e-05/0.007738, allocations: 60.3 kB / 0.8172 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.68e-05/0.007754, allocations: 4 kB / 0.8172 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.917e-05/0.007774, allocations: 9.469 kB / 0.8172 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.007774, allocations: 3.938 kB / 0.8172 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of Templates: time 0.002149/0.009923, allocations: 0.5861 MB / 0.8178 GB, free: 10.98 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: 4.978175430092961]