Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Splice.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.001799/0.001799, allocations: 81.5 kB / 19.44 MB, free: 344 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.00204/0.00204, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.553/1.553, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 3.626/3.626, allocations: 429.5 MB / 0.6729 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 176] 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.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8774 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.717e-05, allocations: 3.531 kB / 0.8775 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003289/0.003316, allocations: 1.535 MB / 0.879 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.005074, allocations: 0.707 MB / 0.8796 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.031e-05/0.005135, allocations: 0 / 0.8796 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.84e-05/0.005163, allocations: 3.938 kB / 0.8796 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.019e-05/0.005223, allocations: 8.812 kB / 0.8797 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.005683, allocations: 100.6 kB / 0.8797 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.005801, allocations: 43.84 kB / 0.8798 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.941e-05/0.005891, allocations: 7.984 kB / 0.8798 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.00602, allocations: 29.02 kB / 0.8798 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.053e-05/0.006071, allocations: 11.98 kB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.006087, allocations: 5.125 kB / 0.8798 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.006338, allocations: 107.9 kB / 0.8799 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.006358, allocations: 11.92 kB / 0.88 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.006383, allocations: 8.891 kB / 0.88 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.006638, allocations: 115.6 kB / 0.8801 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.006643, allocations: 4 kB / 0.8801 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.22e-07/0.006644, allocations: 0.5312 kB / 0.8801 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.006648, allocations: 1.219 kB / 0.8801 GB, free: 3.969 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001192/0.00784, allocations: 395.9 kB / 0.8805 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.00788, allocations: 8.031 kB / 0.8805 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.008068, allocations: 25.91 kB / 0.8805 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.008262, allocations: 116.6 kB / 0.8806 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.008274, allocations: 5.375 kB / 0.8806 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.00829, allocations: 12.36 kB / 0.8806 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.008455, allocations: 46.25 kB / 0.8807 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.008464, allocations: 1.531 kB / 0.8807 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.008473, allocations: 384 / 0.8807 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.00848, allocations: 3.938 kB / 0.8807 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.008581, allocations: 29.08 kB / 0.8807 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.009005, allocations: 279.7 kB / 0.881 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.009114, allocations: 44.14 kB / 0.881 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.73e-05/0.009161, allocations: 11.75 kB / 0.881 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/0.00943, allocations: 41.36 kB / 0.8811 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.009469, allocations: 33.39 kB / 0.8811 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.00947, allocations: 3.438 kB / 0.8811 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000262/0.009732, allocations: 65.58 kB / 0.8812 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.009778, allocations: 55.41 kB / 0.8812 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.009938, allocations: 177.9 kB / 0.8814 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.009956, allocations: 25.7 kB / 0.8814 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.756e-05/0.01005, allocations: 138.9 kB / 0.8815 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.01007, allocations: 7.891 kB / 0.8815 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.01011, allocations: 19.38 kB / 0.8816 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002985/0.01041, allocations: 496.7 kB / 0.882 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.625e-05/0.01046, allocations: 13.52 kB / 0.882 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.323e-05/0.01049, allocations: 8 kB / 0.8821 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.627e-05/0.01058, allocations: 23.86 kB / 0.8821 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.01058, allocations: 4 kB / 0.8821 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001407/0.01072, allocations: 61.52 kB / 0.8821 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.01074, allocations: 8 kB / 0.8821 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.01075, allocations: 0 / 0.8821 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.01076, allocations: 0 / 0.8821 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.01083, allocations: 4 kB / 0.8822 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.01084, allocations: 0 / 0.8822 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.163e-05/0.01087, allocations: 4 kB / 0.8822 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.01088, allocations: 4 kB / 0.8822 GB, free: 1.648 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 (2): * Single equations (assignments): 2 * 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 0.0001195/0.011, allocations: 156.6 kB / 0.8823 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.01103, allocations: 15.86 kB / 0.8823 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.01122, allocations: 61.25 kB / 0.8824 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01122, allocations: 0 / 0.8824 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.01122, allocations: 0 / 0.8824 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.01122, allocations: 0 / 0.8824 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.0114, allocations: 124.6 kB / 0.8825 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01141, allocations: 0 / 0.8825 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.936e-05/0.01145, allocations: 11.92 kB / 0.8825 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.01146, allocations: 7.984 kB / 0.8825 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.01147, allocations: 4.031 kB / 0.8825 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.01147, allocations: 4 kB / 0.8825 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01147, allocations: 0 / 0.8825 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.0117, allocations: 195.9 kB / 0.8827 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.693e-05/0.01172, allocations: 11.94 kB / 0.8827 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.01173, allocations: 7.938 kB / 0.8827 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.962e-05/0.01179, allocations: 3.984 kB / 0.8827 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.01183, allocations: 4 kB / 0.8827 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.01183, allocations: 0 / 0.8827 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.961e-05/0.01192, allocations: 135.2 kB / 0.8829 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01192, allocations: 4.031 kB / 0.8829 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002567/0.01218, allocations: 19.89 kB / 0.8829 GB, free: 0.8281 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 (2): * Single equations (assignments): 2 * 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.000195/0.01237, allocations: 103.2 kB / 0.883 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.01251, allocations: 23.69 kB / 0.883 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01251, allocations: 4 kB / 0.883 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.628e-05/0.01257, allocations: 23.61 kB / 0.883 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.01278, allocations: 4 kB / 0.883 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.01318, allocations: 150.1 kB / 0.8832 GB, free: 488 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.946e-05/0.01326, allocations: 71.33 kB / 0.8833 GB, free: 396 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.28e-05/0.01328, allocations: 0 / 0.8833 GB, free: 396 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.01331, allocations: 8.5 kB / 0.8833 GB, free: 384 kB / 0.8386 GB Notification: Performance of SimCode: time 5.1e-07/0.01331, allocations: 4 kB / 0.8833 GB, free: 380 kB / 0.8386 GB Notification: Performance of Templates: time 0.00356/0.01687, allocations: 0.5415 MB / 0.8838 GB, free: 15.83 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.629137457930483]