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.0019/0.0019, allocations: 88.72 kB / 19.44 MB, free: 356 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.002513/0.002513, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.464/1.464, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.122/3.122, allocations: 429.6 MB / 0.673 GB, free: 3.859 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.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.164e-06/2.164e-06, allocations: 0 / 0.8776 GB, free: 6.422 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.983e-05/4.2e-05, allocations: 5.891 kB / 0.8776 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001741/0.001783, allocations: 0.5942 MB / 0.8782 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.004075, allocations: 1.279 MB / 0.8795 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.636e-05/0.004092, allocations: 1.781 kB / 0.8795 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.004107, allocations: 3.938 kB / 0.8795 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.701e-06/0.004112, allocations: 0 / 0.8795 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.004577, allocations: 79.61 kB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.346e-05/0.004621, allocations: 1 kB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.005e-05/0.004651, allocations: 3.938 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.579e-05/0.004677, allocations: 4 kB / 0.8796 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.175e-05/0.004718, allocations: 1.125 kB / 0.8796 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.004729, allocations: 0 / 0.8796 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.0051, allocations: 112.9 kB / 0.8797 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.064e-05/0.005111, allocations: 4 kB / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.005133, allocations: 0 / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.005328, allocations: 68.95 kB / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.005331, allocations: 0 / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.91e-07/0.005331, allocations: 0 / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.005335, allocations: 0.9688 kB / 0.8797 GB, free: 4.285 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.0003767/0.005712, allocations: 254.2 kB / 0.88 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.005757, allocations: 12.03 kB / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.005801, allocations: 1.438 kB / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.005915, allocations: 103.7 kB / 0.8801 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.005932, allocations: 8.297 kB / 0.8801 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.005942, allocations: 4.375 kB / 0.8801 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.407e-05/0.006036, allocations: 30.27 kB / 0.8801 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.006043, allocations: 192 / 0.8801 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.006053, allocations: 5.656 kB / 0.8801 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.00606, allocations: 3.938 kB / 0.8801 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.658e-05/0.006087, allocations: 4 kB / 0.8801 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.006237, allocations: 94.42 kB / 0.8802 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.609e-05/0.006293, allocations: 22.55 kB / 0.8803 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.006311, allocations: 4.859 kB / 0.8803 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003441/0.006655, allocations: 54.25 kB / 0.8803 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.006696, allocations: 34.56 kB / 0.8803 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.006697, allocations: 0 / 0.8803 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.000158/0.006855, allocations: 32.17 kB / 0.8804 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.006907, allocations: 59.34 kB / 0.8804 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.403e-05/0.006971, allocations: 89.86 kB / 0.8805 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.00699, allocations: 25.7 kB / 0.8805 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.007037, allocations: 80.14 kB / 0.8806 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.007063, allocations: 3.953 kB / 0.8806 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.007102, allocations: 27.7 kB / 0.8807 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.007296, allocations: 310.8 kB / 0.8809 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/0.007307, allocations: 0 / 0.8809 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-06/0.007313, allocations: 0 / 0.8809 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.386e-05/0.007346, allocations: 9.578 kB / 0.881 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.007348, allocations: 0 / 0.881 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.08e-05/0.007419, allocations: 35.36 kB / 0.881 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.007432, allocations: 4 kB / 0.881 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.007436, allocations: 0 / 0.881 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.007454, allocations: 3.984 kB / 0.881 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.406e-05/0.007498, allocations: 5.188 kB / 0.881 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.007505, allocations: 7.875 kB / 0.881 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.178e-05/0.007517, allocations: 0 / 0.881 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.007521, allocations: 224 / 0.881 GB, free: 2.824 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 9.969e-05/0.007621, allocations: 117.8 kB / 0.8811 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-06/0.007629, allocations: 0 / 0.8811 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.007746, allocations: 36.69 kB / 0.8812 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.007748, allocations: 0 / 0.8812 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.007752, allocations: 0 / 0.8812 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.007757, allocations: 3.938 kB / 0.8812 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.007865, allocations: 101.3 kB / 0.8813 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.007868, allocations: 7.938 kB / 0.8813 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.601e-05/0.007884, allocations: 4.031 kB / 0.8813 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.007893, allocations: 4 kB / 0.8813 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.007898, allocations: 0 / 0.8813 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.007899, allocations: 0 / 0.8813 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.0079, allocations: 0 / 0.8813 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.691e-05/0.007996, allocations: 65.03 kB / 0.8813 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-06/0.008001, allocations: 0 / 0.8813 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.308e-06/0.00801, allocations: 0 / 0.8813 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.669e-06/0.00802, allocations: 0 / 0.8813 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.008035, allocations: 4 kB / 0.8813 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.008037, allocations: 4.031 kB / 0.8813 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.096e-05/0.008088, allocations: 83.22 kB / 0.8814 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.008088, allocations: 0 / 0.8814 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002191/0.008307, allocations: 15.98 kB / 0.8814 GB, free: 2.32 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.0001917/0.008499, allocations: 111.2 kB / 0.8815 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.488e-05/0.008564, allocations: 11.92 kB / 0.8816 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.008566, allocations: 0 / 0.8816 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.174e-06/0.008573, allocations: 0 / 0.8816 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.00872, allocations: 7.938 kB / 0.8816 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.00896, allocations: 82.42 kB / 0.8816 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.167e-05/0.009022, allocations: 55.36 kB / 0.8817 GB, free: 2 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.245e-05/0.009044, allocations: 7.969 kB / 0.8817 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.009072, allocations: 12.5 kB / 0.8817 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.009073, allocations: 0 / 0.8817 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of Templates: time 0.002999/0.01207, allocations: 412.8 kB / 0.8821 GB, free: 1.582 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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: 7.86365025001578]