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.000995/0.000995, 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.0009957/0.0009957, 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 1.008/1.008, allocations: 177.1 MB / 204.2 MB, free: 5.262 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.922/1.922, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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.413e-06/1.413e-06, allocations: 0 / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.625e-05, allocations: 3.078 kB / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001266/0.001293, allocations: 0.5998 MB / 0.8122 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.002747, allocations: 1.313 MB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.63e-05/0.002764, allocations: 0 / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.002782, allocations: 0 / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.66e-06/0.002787, allocations: 0 / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.00312, allocations: 81.59 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 3.82e-05/0.003158, allocations: 4 kB / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.258e-05/0.003191, allocations: 0 / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 2.014e-05/0.003211, allocations: 0 / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.401e-05/0.003245, allocations: 0 / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.003255, allocations: 0.6562 kB / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.003521, allocations: 112.3 kB / 0.8137 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.003531, allocations: 7.922 kB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.406e-05/0.003545, allocations: 0.7188 kB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.003674, allocations: 75.8 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.003676, allocations: 0.5312 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.202e-06/0.003677, allocations: 1.406 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.003681, allocations: 0 / 0.8137 GB, free: 15.5 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.000267/0.003948, allocations: 352.2 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.003985, allocations: 8.031 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.004017, allocations: 5.469 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.075e-05/0.004078, allocations: 114 kB / 0.8142 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.004089, allocations: 384 / 0.8142 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-06/0.004098, allocations: 384 / 0.8142 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.911e-05/0.004177, allocations: 30.27 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.004187, allocations: 1.344 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.004194, allocations: 4.312 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.004203, allocations: 3.938 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.362e-05/0.004216, allocations: 1.375 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.004328, allocations: 108.6 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.553e-05/0.004363, allocations: 27.06 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.702e-05/0.00438, allocations: 13.11 kB / 0.8144 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002542/0.004634, allocations: 40.56 kB / 0.8144 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.004657, allocations: 38.23 kB / 0.8144 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.004658, allocations: 0 / 0.8144 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001189/0.004777, allocations: 34.95 kB / 0.8145 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.004804, allocations: 55.34 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.639e-05/0.004841, allocations: 142.2 kB / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.00485, allocations: 34.84 kB / 0.8147 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.887e-05/0.004879, allocations: 126.9 kB / 0.8148 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.004905, allocations: 4 kB / 0.8148 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.00493, allocations: 21.22 kB / 0.8148 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.005045, allocations: 492.1 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/0.005056, allocations: 4 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-06/0.005063, allocations: 0 / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.005094, allocations: 22.12 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.005096, allocations: 0 / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.917e-05/0.005145, allocations: 33.69 kB / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.005157, allocations: 4 kB / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.005162, allocations: 0 / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.005182, allocations: 4 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.971e-05/0.005232, allocations: 0.5 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.005238, allocations: 4.469 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.758e-06/0.005248, allocations: 4.344 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.005253, allocations: 1.938 kB / 0.8154 GB, free: 13.62 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 6.101e-05/0.005314, allocations: 156.6 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-06/0.005318, allocations: 0 / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.304e-05/0.005401, allocations: 49.47 kB / 0.8156 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.005404, allocations: 4 kB / 0.8156 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.005407, allocations: 0.7812 kB / 0.8156 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.005411, allocations: 3.938 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.282e-05/0.005464, allocations: 109.9 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.005464, allocations: 0 / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.071e-05/0.005475, allocations: 4 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.005477, allocations: 3.125 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.005482, allocations: 0 / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.005483, allocations: 3.984 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005484, allocations: 0 / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.805e-05/0.005532, allocations: 72.33 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-06/0.005536, allocations: 3.984 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.295e-06/0.005545, allocations: 0 / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.929e-06/0.00555, allocations: 4 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/0.005562, allocations: 6.391 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.005564, allocations: 0 / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.594e-05/0.00559, allocations: 127.1 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00559, allocations: 0 / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001348/0.005725, allocations: 15.94 kB / 0.8159 GB, free: 13 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.0001266/0.005851, allocations: 108.2 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.21e-05/0.005913, allocations: 11.69 kB / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.005915, allocations: 1.062 kB / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.755e-06/0.005922, allocations: 11.69 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.112e-05/0.006014, allocations: 5.062 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001762/0.00619, allocations: 91.89 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.936e-05/0.006219, allocations: 55.34 kB / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.725e-05/0.006236, allocations: 6.078 kB / 0.8162 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.006254, allocations: 12.5 kB / 0.8162 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.006254, allocations: 0 / 0.8162 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of Templates: time 0.001988/0.008242, allocations: 425.6 kB / 0.8166 GB, free: 12.24 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: 5.214315189048648]