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.001069/0.001069, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.001681/0.001681, allocations: 173 kB / 24.28 MB, free: 272 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.015/1.015, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.957/1.957, allocations: 377.8 MB / 0.6239 GB, free: 8.562 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.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 3.196e-06/3.196e-06, allocations: 0 / 0.8116 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.495e-05/3.815e-05, allocations: 3.297 kB / 0.8116 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00213/0.002168, allocations: 0.6017 MB / 0.8122 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002051/0.00422, allocations: 1.317 MB / 0.8135 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.163e-05/0.004241, allocations: 4 kB / 0.8135 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.004258, allocations: 0.9688 kB / 0.8135 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.544e-06/0.004265, allocations: 0 / 0.8135 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.004717, allocations: 76.48 kB / 0.8135 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.229e-05/0.004769, allocations: 4 kB / 0.8135 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.004814, allocations: 5.234 kB / 0.8135 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.719e-05/0.004841, allocations: 0 / 0.8135 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.975e-05/0.00489, allocations: 0 / 0.8135 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.004903, allocations: 4 kB / 0.8136 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003482/0.005251, allocations: 101.5 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.005262, allocations: 0 / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.719e-05/0.005279, allocations: 0 / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.005456, allocations: 83.72 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.005459, allocations: 1.406 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.243e-06/0.00546, allocations: 0 / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.005466, allocations: 3.938 kB / 0.8137 GB, free: 15.82 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.0003619/0.005828, allocations: 353.5 kB / 0.8141 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.005869, allocations: 8.031 kB / 0.8141 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.005908, allocations: 4.938 kB / 0.8141 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.91e-05/0.005967, allocations: 112.6 kB / 0.8142 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.005978, allocations: 6.172 kB / 0.8142 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.005987, allocations: 384 / 0.8142 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.347e-05/0.006071, allocations: 30.27 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.779e-06/0.006076, allocations: 192 / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.006085, allocations: 5.891 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.006092, allocations: 3.938 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.694e-05/0.006109, allocations: 3.938 kB / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.006213, allocations: 108.6 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.636e-05/0.006249, allocations: 24.47 kB / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.006269, allocations: 15.78 kB / 0.8144 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.006528, allocations: 37.12 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.006548, allocations: 39.36 kB / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 6.692e-06/0.006555, allocations: 0 / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001222/0.006677, allocations: 37.62 kB / 0.8145 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.006702, allocations: 55.34 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.414e-05/0.006736, allocations: 142.2 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.695e-06/0.006744, allocations: 26.23 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.688e-05/0.006771, allocations: 131.6 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.006796, allocations: 0 / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.006818, allocations: 20.62 kB / 0.8148 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.749e-05/0.006915, allocations: 492.1 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-06/0.006925, allocations: 4 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-06/0.006933, allocations: 4.609 kB / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.743e-05/0.00696, allocations: 12.81 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006962, allocations: 0 / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.897e-05/0.007001, allocations: 34.45 kB / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.007014, allocations: 4 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.007018, allocations: 7.938 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.007028, allocations: 0.6562 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.995e-05/0.007068, allocations: 0.8125 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.007074, allocations: 3.938 kB / 0.8154 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.326e-06/0.007082, allocations: 1.281 kB / 0.8154 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.007089, allocations: 4 kB / 0.8154 GB, free: 13.94 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.866e-05/0.007147, allocations: 161.9 kB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-06/0.007151, allocations: 0 / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.592e-05/0.007227, allocations: 49.45 kB / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.007228, allocations: 0 / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.007232, allocations: 2.281 kB / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.007236, allocations: 7.938 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.229e-05/0.007288, allocations: 108.6 kB / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.007289, allocations: 0 / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.328e-06/0.007298, allocations: 4 kB / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.007299, allocations: 0 / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.007305, allocations: 7.438 kB / 0.8157 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.007306, allocations: 0 / 0.8157 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.007307, allocations: 0 / 0.8157 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.806e-05/0.007355, allocations: 72.38 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-06/0.007358, allocations: 0 / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-06/0.007367, allocations: 4 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.987e-06/0.007371, allocations: 0 / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.007385, allocations: 3.938 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.007387, allocations: 0 / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.524e-05/0.007412, allocations: 123.7 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007412, allocations: 0 / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001398/0.007552, allocations: 12.44 kB / 0.8159 GB, free: 13.33 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.0001364/0.007688, allocations: 112.4 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.151e-05/0.00775, allocations: 12.28 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.007751, allocations: 0 / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.284e-06/0.007759, allocations: 13.06 kB / 0.8161 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.32e-05/0.007852, allocations: 3.984 kB / 0.8161 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001708/0.008023, allocations: 92.55 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.774e-05/0.00805, allocations: 51.36 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.661e-05/0.008067, allocations: 5.719 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/0.008081, allocations: 12.5 kB / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of SimCode: time 8.02e-07/0.008082, allocations: 0.6562 kB / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of Templates: time 0.002479/0.01056, allocations: 430.1 kB / 0.8166 GB, free: 12.57 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.240916340146214]