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.001038/0.001038, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009866/0.0009866, allocations: 185 kB / 24.09 MB, free: 416 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.008/1.008, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.961/1.961, allocations: 377.9 MB / 0.624 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 177] 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.563e-06/1.563e-06, allocations: 0.875 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.595e-05, allocations: 2.312 kB / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003179/0.003205, allocations: 1.55 MB / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.004743, allocations: 0.7077 MB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.912e-05/0.004812, allocations: 4 kB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.004846, allocations: 7.922 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.073e-05/0.004906, allocations: 7.875 kB / 0.8142 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.005374, allocations: 96.3 kB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.005483, allocations: 40.39 kB / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.778e-05/0.005581, allocations: 13.33 kB / 0.8144 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.005702, allocations: 23.86 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.005757, allocations: 19.97 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.005771, allocations: 0.5312 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.005977, allocations: 109.3 kB / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.005993, allocations: 11.92 kB / 0.8145 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.006013, allocations: 8 kB / 0.8146 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.006232, allocations: 107.6 kB / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.006237, allocations: 1.156 kB / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.052e-06/0.006238, allocations: 0 / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.006242, allocations: 0 / 0.8147 GB, free: 14.75 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.0003975/0.006639, allocations: 397.6 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.006683, allocations: 8.031 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.006829, allocations: 12.92 kB / 0.8151 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.006976, allocations: 129.8 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.006986, allocations: 4.312 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.006995, allocations: 4.375 kB / 0.8152 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.007109, allocations: 55.61 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.007117, allocations: 192 / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.00713, allocations: 6.156 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.007137, allocations: 3.938 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.64e-05/0.007164, allocations: 15.97 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.007445, allocations: 252.4 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.101e-05/0.007496, allocations: 29.62 kB / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.007513, allocations: 11.69 kB / 0.8155 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.007703, allocations: 39.95 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.007729, allocations: 37.39 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.00773, allocations: 0.5 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001504/0.007881, allocations: 42.17 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.007911, allocations: 53.34 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.215e-05/0.008004, allocations: 177.8 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.008016, allocations: 25.7 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.008079, allocations: 138.8 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.008098, allocations: 11.94 kB / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.008131, allocations: 17.25 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.008274, allocations: 0.4884 MB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.008287, allocations: 0 / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.108e-05/0.008298, allocations: 4 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.839e-05/0.008336, allocations: 20.34 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.008338, allocations: 0.5312 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.977e-05/0.008418, allocations: 42.53 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.008433, allocations: 4 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.008438, allocations: 0 / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.008453, allocations: 8.766 kB / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.299e-05/0.008516, allocations: 4 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.008519, allocations: 1.281 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.315e-05/0.008543, allocations: 3.984 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/0.008549, allocations: 0 / 0.8166 GB, free: 12.55 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 7.572e-05/0.008625, allocations: 161.4 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.008652, allocations: 11.83 kB / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.008758, allocations: 50.55 kB / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.008762, allocations: 7.938 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.008763, allocations: 0 / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.008766, allocations: 1.281 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.008899, allocations: 97.25 kB / 0.8169 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.0089, allocations: 0 / 0.8169 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.008936, allocations: 10.47 kB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.008942, allocations: 4 kB / 0.817 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.008948, allocations: 3.938 kB / 0.817 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.008949, allocations: 0 / 0.817 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.00895, allocations: 0 / 0.817 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.009075, allocations: 191.8 kB / 0.8171 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-06/0.009081, allocations: 0.9375 kB / 0.8171 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.009091, allocations: 3.938 kB / 0.8171 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.647e-05/0.009148, allocations: 13.11 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/0.009172, allocations: 0 / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.009175, allocations: 0 / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.009228, allocations: 139.2 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.009228, allocations: 1.125 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00027/0.009498, allocations: 15.94 kB / 0.8173 GB, free: 11.8 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.0001864/0.009684, allocations: 108.2 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.867e-05/0.009763, allocations: 16.72 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.009765, allocations: 3.938 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-05/0.009786, allocations: 12.19 kB / 0.8174 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.01004, allocations: 9.422 kB / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.01054, allocations: 138.2 kB / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.596e-05/0.01059, allocations: 63.95 kB / 0.8176 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.377e-05/0.01061, allocations: 1.344 kB / 0.8176 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.01066, allocations: 74.2 kB / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of SimCode: time 8.72e-07/0.01066, allocations: 0 / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of Templates: time 0.002878/0.01354, allocations: 0.6027 MB / 0.8183 GB, free: 10.73 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.261083014309406]