Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009617/0.0009617, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009667/0.0009667, allocations: 169 kB / 24.28 MB, free: 276 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 0.8947/0.8947, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.74/1.74, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.364e-05, allocations: 8.703 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001879/0.001903, allocations: 1.536 MB / 0.7886 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00092/0.002823, allocations: 0.7111 MB / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/0.002881, allocations: 0.5625 kB / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.632e-05/0.002907, allocations: 9.188 kB / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.692e-05/0.002954, allocations: 11.86 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.003342, allocations: 101 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.926e-05/0.003441, allocations: 43.83 kB / 0.7895 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.873e-05/0.00353, allocations: 12 kB / 0.7895 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.003635, allocations: 23.92 kB / 0.7895 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.197e-05/0.003677, allocations: 9.172 kB / 0.7895 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.00369, allocations: 4 kB / 0.7895 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.00385, allocations: 111.9 kB / 0.7896 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.003863, allocations: 12.56 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.003886, allocations: 13.39 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.00405, allocations: 103.6 kB / 0.7897 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004052, allocations: 0 / 0.7897 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.72e-07/0.004053, allocations: 0 / 0.7897 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.004058, allocations: 5 kB / 0.7897 GB, free: 10.1 MB / 0.7448 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.0004294/0.004487, allocations: 396.2 kB / 0.7901 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.004535, allocations: 12.94 kB / 0.7901 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.004673, allocations: 8.938 kB / 0.7901 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.004851, allocations: 121.6 kB / 0.7903 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.004863, allocations: 4.375 kB / 0.7903 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.004876, allocations: 4.359 kB / 0.7903 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.005019, allocations: 63.44 kB / 0.7903 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.005028, allocations: 1.438 kB / 0.7903 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.005041, allocations: 4.312 kB / 0.7903 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.005053, allocations: 3.938 kB / 0.7903 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.686e-05/0.00509, allocations: 18.94 kB / 0.7903 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.005439, allocations: 271.7 kB / 0.7906 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.558e-05/0.005495, allocations: 31 kB / 0.7906 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.005516, allocations: 11.75 kB / 0.7906 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.005692, allocations: 43.89 kB / 0.7907 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.005714, allocations: 34.11 kB / 0.7907 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.005715, allocations: 0 / 0.7907 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001582/0.005874, allocations: 43.36 kB / 0.7908 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.005899, allocations: 51.41 kB / 0.7908 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.005979, allocations: 177.8 kB / 0.791 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.005988, allocations: 26.89 kB / 0.791 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.006034, allocations: 138.8 kB / 0.7911 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.006051, allocations: 7.953 kB / 0.7911 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.006076, allocations: 20.97 kB / 0.7912 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.006184, allocations: 0.4922 MB / 0.7916 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.222e-05/0.006196, allocations: 0 / 0.7916 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.082e-05/0.006207, allocations: 8 kB / 0.7917 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.898e-05/0.006236, allocations: 17.38 kB / 0.7917 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.006238, allocations: 0 / 0.7917 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.418e-05/0.006292, allocations: 41.62 kB / 0.7917 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.006304, allocations: 4.906 kB / 0.7917 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.006308, allocations: 4 kB / 0.7917 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.00632, allocations: 0 / 0.7917 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.109e-05/0.006371, allocations: 4.531 kB / 0.7917 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.006375, allocations: 4.594 kB / 0.7917 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.484e-05/0.00639, allocations: 3.984 kB / 0.7917 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.006395, allocations: 0.5312 kB / 0.7917 GB, free: 7.859 MB / 0.7448 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 6.025e-05/0.006456, allocations: 161.9 kB / 0.7919 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.006471, allocations: 7.891 kB / 0.7919 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.48e-05/0.006555, allocations: 53.3 kB / 0.7919 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.006557, allocations: 0.5312 kB / 0.7919 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.00656, allocations: 1.375 kB / 0.7919 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.006563, allocations: 0 / 0.7919 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.006686, allocations: 120.6 kB / 0.7921 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006687, allocations: 3.938 kB / 0.7921 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.982e-05/0.006707, allocations: 13.08 kB / 0.7921 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.006708, allocations: 0 / 0.7921 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.006715, allocations: 0 / 0.7921 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.006715, allocations: 1.094 kB / 0.7921 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006716, allocations: 0 / 0.7921 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.55e-05/0.006802, allocations: 197.6 kB / 0.7923 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-06/0.006809, allocations: 7.938 kB / 0.7923 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.00682, allocations: 0 / 0.7923 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.693e-05/0.006846, allocations: 0 / 0.7923 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.006874, allocations: 4 kB / 0.7923 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.006878, allocations: 5.328 kB / 0.7923 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.342e-05/0.006911, allocations: 127.2 kB / 0.7924 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006911, allocations: 0 / 0.7924 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001585/0.00707, allocations: 15.94 kB / 0.7924 GB, free: 7.094 MB / 0.7448 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.0001288/0.007198, allocations: 114.1 kB / 0.7925 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.751e-05/0.007276, allocations: 27.61 kB / 0.7926 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.007277, allocations: 0 / 0.7926 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.561e-05/0.007293, allocations: 11.69 kB / 0.7926 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.007441, allocations: 0 / 0.7926 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004807/0.007921, allocations: 154.2 kB / 0.7927 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.225e-05/0.007964, allocations: 55.36 kB / 0.7928 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.849e-05/0.007982, allocations: 0 / 0.7928 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.008019, allocations: 16.48 kB / 0.7928 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of SimCode: time 1.593e-06/0.00802, allocations: 3.938 kB / 0.7928 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of Templates: time 0.002405/0.01043, allocations: 0.5364 MB / 0.7933 GB, free: 6.148 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Splice.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.032051991904154]