Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001359/0.001359, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001666/0.001666, allocations: 173 kB / 23.49 MB, free: 1.055 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.976/0.976, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.149/2.149, allocations: 429.5 MB / 0.6736 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.8782 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.14e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001931/0.001963, allocations: 0.6105 MB / 0.8788 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001863/0.003825, allocations: 1.323 MB / 0.8801 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.00385, allocations: 7.5 kB / 0.8801 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.003867, allocations: 0 / 0.8801 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.735e-06/0.003875, allocations: 0 / 0.8801 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.004331, allocations: 71.69 kB / 0.8802 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.587e-05/0.004387, allocations: 3.938 kB / 0.8802 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.004433, allocations: 4 kB / 0.8802 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.848e-05/0.004461, allocations: 0 / 0.8802 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.742e-05/0.004509, allocations: 0 / 0.8802 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.004521, allocations: 0 / 0.8802 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.004866, allocations: 112.5 kB / 0.8803 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.004877, allocations: 0 / 0.8803 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.787e-05/0.004895, allocations: 0.5938 kB / 0.8803 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.005082, allocations: 80.53 kB / 0.8804 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.005086, allocations: 0 / 0.8804 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.673e-06/0.005088, allocations: 0.9062 kB / 0.8804 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.005094, allocations: 0 / 0.8804 GB, free: 4.375 MB / 0.8386 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.0003291/0.005423, allocations: 348.2 kB / 0.8807 GB, free: 4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.005473, allocations: 12.89 kB / 0.8807 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.005518, allocations: 0.9375 kB / 0.8807 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.062e-05/0.005599, allocations: 113.7 kB / 0.8808 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.005612, allocations: 384 / 0.8808 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.005621, allocations: 384 / 0.8808 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.005722, allocations: 35.73 kB / 0.8809 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.00573, allocations: 192 / 0.8809 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.00574, allocations: 4.375 kB / 0.8809 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.00575, allocations: 3.938 kB / 0.8809 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.652e-05/0.005767, allocations: 0.9375 kB / 0.8809 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.005898, allocations: 112.6 kB / 0.881 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.031e-05/0.005938, allocations: 27.78 kB / 0.881 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.005955, allocations: 7.688 kB / 0.881 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002731/0.006228, allocations: 48.06 kB / 0.8811 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.006252, allocations: 33.39 kB / 0.8811 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.006253, allocations: 0 / 0.8811 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001389/0.006392, allocations: 41.69 kB / 0.8811 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.00642, allocations: 55.34 kB / 0.8812 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.838e-05/0.006458, allocations: 142.2 kB / 0.8813 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.954e-06/0.006466, allocations: 29.64 kB / 0.8814 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.526e-05/0.006492, allocations: 131 kB / 0.8815 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.006519, allocations: 4.297 kB / 0.8815 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.006543, allocations: 19.38 kB / 0.8815 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.00665, allocations: 496.1 kB / 0.882 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.006662, allocations: 0 / 0.882 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-06/0.006669, allocations: 4 kB / 0.882 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.145e-05/0.006701, allocations: 7.688 kB / 0.882 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.006704, allocations: 4 kB / 0.882 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.215e-05/0.006746, allocations: 37.69 kB / 0.882 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.006759, allocations: 8.094 kB / 0.882 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.006764, allocations: 0 / 0.882 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.006776, allocations: 0 / 0.882 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.017e-05/0.006826, allocations: 7.938 kB / 0.8821 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.006833, allocations: 3.938 kB / 0.8821 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.745e-06/0.00684, allocations: 0 / 0.8821 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.006845, allocations: 0 / 0.8821 GB, free: 2.477 MB / 0.8386 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.881e-05/0.006904, allocations: 156.6 kB / 0.8822 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-06/0.006907, allocations: 0 / 0.8822 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.978e-05/0.006987, allocations: 44.69 kB / 0.8822 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.006989, allocations: 0 / 0.8822 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.006992, allocations: 0 / 0.8822 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.006997, allocations: 15.86 kB / 0.8823 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.359e-05/0.007051, allocations: 104.6 kB / 0.8824 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.007052, allocations: 0 / 0.8824 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.05e-05/0.007062, allocations: 3.984 kB / 0.8824 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.007064, allocations: 4 kB / 0.8824 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.007069, allocations: 0 / 0.8824 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.00707, allocations: 0 / 0.8824 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.007073, allocations: 7.969 kB / 0.8824 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.515e-05/0.007128, allocations: 72.39 kB / 0.8824 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-06/0.007132, allocations: 0 / 0.8824 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-06/0.007141, allocations: 3.984 kB / 0.8825 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.438e-06/0.007146, allocations: 0 / 0.8825 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.00716, allocations: 4 kB / 0.8825 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.007162, allocations: 0 / 0.8825 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.859e-05/0.00719, allocations: 123.1 kB / 0.8826 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.00719, allocations: 0 / 0.8826 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001355/0.007326, allocations: 11.94 kB / 0.8826 GB, free: 1.859 MB / 0.8386 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.0001496/0.007475, allocations: 115.2 kB / 0.8827 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.698e-05/0.007542, allocations: 19.62 kB / 0.8827 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.007544, allocations: 0 / 0.8827 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.763e-06/0.007551, allocations: 7.688 kB / 0.8827 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001003/0.007651, allocations: 4 kB / 0.8827 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/0.007839, allocations: 87.88 kB / 0.8828 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.007942, allocations: 55.36 kB / 0.8829 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.879e-05/0.007961, allocations: 4.125 kB / 0.8829 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.423e-05/0.007975, allocations: 8.5 kB / 0.8829 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of SimCode: time 6.31e-07/0.007976, allocations: 0 / 0.8829 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of Templates: time 0.002003/0.009979, allocations: 431.9 kB / 0.8833 GB, free: 1.078 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.338848917046562]