Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009588/0.0009588, allocations: 81.86 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.0009685/0.0009685, 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 0.9449/0.9449, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.856/1.856, allocations: 377.9 MB / 0.624 GB, free: 8.406 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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0.7656 kB / 0.8121 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.774e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001614/0.001642, allocations: 0.6025 MB / 0.8127 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.003505, allocations: 1.316 MB / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.585e-05/0.003531, allocations: 0 / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.003551, allocations: 1.188 kB / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.707e-06/0.00356, allocations: 0 / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.004015, allocations: 72.25 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 4.379e-05/0.004059, allocations: 2.406 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.0041, allocations: 4 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.05e-05/0.00413, allocations: 0 / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.849e-05/0.004169, allocations: 3.984 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.004178, allocations: 0 / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.004397, allocations: 111.8 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.835e-06/0.004405, allocations: 1.156 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.836e-06/0.004414, allocations: 0 / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.00454, allocations: 83.72 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.004543, allocations: 0 / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004544, allocations: 0.9375 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.004547, allocations: 0 / 0.8142 GB, free: 15.2 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002156/0.004762, allocations: 353.1 kB / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.004794, allocations: 8.031 kB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.046e-05/0.004815, allocations: 0.9375 kB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.747e-05/0.004862, allocations: 109.7 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.004871, allocations: 384 / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-06/0.004876, allocations: 5.75 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.195e-05/0.004928, allocations: 30.2 kB / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.004933, allocations: 4.188 kB / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.428e-06/0.004938, allocations: 384 / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.004943, allocations: 5.875 kB / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.115e-06/0.004951, allocations: 0 / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.837e-05/0.005019, allocations: 97.25 kB / 0.8148 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 2.585e-05/0.005045, allocations: 23.06 kB / 0.8148 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.061e-05/0.005056, allocations: 9.344 kB / 0.8148 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.005241, allocations: 40.06 kB / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.005262, allocations: 46.25 kB / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.005263, allocations: 0 / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 8.076e-05/0.005344, allocations: 38.22 kB / 0.8149 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.005364, allocations: 51.94 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.299e-05/0.005397, allocations: 143.4 kB / 0.8151 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.005404, allocations: 25.7 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.591e-05/0.00543, allocations: 126.9 kB / 0.8153 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.005451, allocations: 0.5625 kB / 0.8153 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.79e-05/0.005469, allocations: 23.31 kB / 0.8153 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.005567, allocations: 496.6 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-06/0.005572, allocations: 1.375 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.588e-06/0.005576, allocations: 4 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.016e-05/0.005596, allocations: 12.47 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.005598, allocations: 4 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.935e-05/0.005628, allocations: 34.53 kB / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.005637, allocations: 4 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.005641, allocations: 1.281 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.005651, allocations: 0 / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.695e-05/0.005678, allocations: 4 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-06/0.00568, allocations: 0 / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.223e-06/0.005687, allocations: 5.125 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.005692, allocations: 4 kB / 0.8158 GB, free: 13.35 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 (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.095e-05/0.005743, allocations: 157.6 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-06/0.005747, allocations: 3.984 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.546e-05/0.005802, allocations: 46.02 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.81e-07/0.005803, allocations: 0 / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.005804, allocations: 1.312 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.005807, allocations: 4 kB / 0.816 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.325e-05/0.00585, allocations: 97.2 kB / 0.8161 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.005851, allocations: 3.031 kB / 0.8161 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.661e-06/0.005856, allocations: 3.984 kB / 0.8161 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.005858, allocations: 4 kB / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-06/0.005861, allocations: 0 / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.6e-07/0.005861, allocations: 0 / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.005862, allocations: 3.984 kB / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.095e-05/0.005903, allocations: 76.33 kB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-06/0.005906, allocations: 0 / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.558e-06/0.005911, allocations: 0.5 kB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.639e-06/0.005916, allocations: 5.141 kB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-06/0.005924, allocations: 0 / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-06/0.005925, allocations: 4 kB / 0.8162 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.466e-05/0.00595, allocations: 120.4 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00595, allocations: 0 / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001201/0.00607, allocations: 11.94 kB / 0.8164 GB, free: 12.77 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 (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.0001235/0.006194, allocations: 116.1 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.267e-05/0.006236, allocations: 13.03 kB / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.006237, allocations: 0 / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.041e-06/0.006244, allocations: 11.62 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.072e-05/0.006324, allocations: 13.03 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000122/0.006446, allocations: 83.95 kB / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.493e-05/0.006471, allocations: 59.36 kB / 0.8166 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.266e-05/0.006484, allocations: 3.25 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.00651, allocations: 66.2 kB / 0.8167 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of SimCode: time 3.41e-07/0.00651, allocations: 0 / 0.8167 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of Templates: time 0.001623/0.008133, allocations: 473.6 kB / 0.8172 GB, free: 11.9 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.912413890939206]