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.0009501/0.0009501, allocations: 88.23 kB / 19.64 MB, free: 308 kB / 13.93 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.0009697/0.0009697, allocations: 168.9 kB / 23.02 MB, free: 1.57 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.996/0.996, allocations: 177.1 MB / 203.4 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.147/2.147, allocations: 429.5 MB / 0.6732 GB, free: 4.062 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 1.693e-06/1.693e-06, allocations: 0 / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.039e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001758/0.001788, allocations: 0.6094 MB / 0.8788 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.003594, allocations: 1.322 MB / 0.8801 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.017e-05/0.003614, allocations: 0 / 0.8801 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.003634, allocations: 1.094 kB / 0.8801 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.883e-06/0.003641, allocations: 0 / 0.8801 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.004068, allocations: 80.25 kB / 0.8802 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.52e-05/0.004114, allocations: 1.281 kB / 0.8802 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.004156, allocations: 8 kB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.534e-05/0.004181, allocations: 0 / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.128e-05/0.004223, allocations: 0 / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.004234, allocations: 3.969 kB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003166/0.004551, allocations: 107.8 kB / 0.8803 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.004562, allocations: 4 kB / 0.8803 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.587e-05/0.004578, allocations: 0 / 0.8803 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.004743, allocations: 71.78 kB / 0.8804 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.004748, allocations: 4 kB / 0.8804 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.452e-06/0.004749, allocations: 0 / 0.8804 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.004754, allocations: 0 / 0.8804 GB, free: 4.059 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.0003078/0.005062, allocations: 356.2 kB / 0.8807 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.005106, allocations: 8.031 kB / 0.8807 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.005144, allocations: 1.875 kB / 0.8807 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.544e-05/0.005209, allocations: 104.6 kB / 0.8808 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.005222, allocations: 8.312 kB / 0.8808 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.005233, allocations: 1.406 kB / 0.8808 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.237e-05/0.005326, allocations: 34.19 kB / 0.8809 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.005335, allocations: 1.312 kB / 0.8809 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.005345, allocations: 384 / 0.8809 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.005355, allocations: 7.938 kB / 0.8809 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.531e-05/0.00537, allocations: 1.125 kB / 0.8809 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.005498, allocations: 108.6 kB / 0.881 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.51e-05/0.005543, allocations: 27.09 kB / 0.881 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.005561, allocations: 8.688 kB / 0.881 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00032/0.005881, allocations: 49.27 kB / 0.8811 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.00591, allocations: 38.8 kB / 0.8811 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.005911, allocations: 0 / 0.8811 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001368/0.006048, allocations: 33.7 kB / 0.8811 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.00608, allocations: 55.94 kB / 0.8812 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.897e-05/0.006129, allocations: 142.2 kB / 0.8813 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.006143, allocations: 31.08 kB / 0.8814 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.006179, allocations: 126.9 kB / 0.8815 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.00621, allocations: 4.297 kB / 0.8815 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.006242, allocations: 19.38 kB / 0.8815 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.006384, allocations: 497.3 kB / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.053e-05/0.006395, allocations: 0 / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-06/0.006404, allocations: 4 kB / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/0.006438, allocations: 12.94 kB / 0.882 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.006443, allocations: 4 kB / 0.882 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.083e-05/0.006504, allocations: 41.14 kB / 0.882 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.00652, allocations: 6.188 kB / 0.882 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.006526, allocations: 0 / 0.882 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.006541, allocations: 0 / 0.882 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.797e-05/0.006599, allocations: 7.984 kB / 0.882 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.006606, allocations: 3.938 kB / 0.882 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.091e-05/0.006617, allocations: 0 / 0.882 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.006622, allocations: 0 / 0.882 GB, free: 2.168 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 7.327e-05/0.006696, allocations: 157.6 kB / 0.8822 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-06/0.006705, allocations: 0 / 0.8822 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.006812, allocations: 48.84 kB / 0.8822 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.006814, allocations: 3.938 kB / 0.8823 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.006818, allocations: 0 / 0.8823 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.006823, allocations: 3.938 kB / 0.8823 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.834e-05/0.006891, allocations: 108.6 kB / 0.8824 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.006893, allocations: 0 / 0.8824 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.717e-05/0.00691, allocations: 0 / 0.8824 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.006913, allocations: 0 / 0.8824 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-06/0.006919, allocations: 4 kB / 0.8824 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.00692, allocations: 0 / 0.8824 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.006922, allocations: 0 / 0.8824 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.25e-05/0.006994, allocations: 80.34 kB / 0.8824 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-06/0.007, allocations: 4 kB / 0.8824 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.00701, allocations: 0 / 0.8824 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-06/0.007018, allocations: 0 / 0.8824 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.007034, allocations: 3.984 kB / 0.8824 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.007037, allocations: 4 kB / 0.8824 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.621e-05/0.007073, allocations: 123.1 kB / 0.8826 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.007073, allocations: 0 / 0.8826 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002463/0.00732, allocations: 15.92 kB / 0.8826 GB, free: 1.547 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.0001782/0.007498, allocations: 107.3 kB / 0.8827 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.423e-05/0.007582, allocations: 15.67 kB / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.007584, allocations: 0 / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.328e-06/0.007594, allocations: 7.688 kB / 0.8827 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.007746, allocations: 7.938 kB / 0.8827 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002124/0.007958, allocations: 83.95 kB / 0.8828 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.607e-05/0.007994, allocations: 51.36 kB / 0.8828 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.394e-05/0.008018, allocations: 8.125 kB / 0.8829 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.008037, allocations: 12.48 kB / 0.8829 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of SimCode: time 7.41e-07/0.008038, allocations: 0 / 0.8829 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of Templates: time 0.00264/0.01068, allocations: 421.6 kB / 0.8833 GB, free: 0.7812 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.515993032604456]