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.00147/0.00147, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001497/0.001497, allocations: 185.3 kB / 24.09 MB, free: 420 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.942/0.942, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.787/1.787, allocations: 359 MB / 0.6055 GB, free: 10.88 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.743e-06/1.743e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.505e-05, allocations: 4.844 kB / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.005384/0.005409, allocations: 1.544 MB / 0.7891 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.006436, allocations: 0.6994 MB / 0.7898 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.625e-05/0.006492, allocations: 5.438 kB / 0.7898 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.762e-05/0.00652, allocations: 7.922 kB / 0.7898 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.817e-05/0.006568, allocations: 3.938 kB / 0.7898 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.006926, allocations: 110.7 kB / 0.7899 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.691e-05/0.007013, allocations: 39.86 kB / 0.7899 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.016e-05/0.007093, allocations: 15.97 kB / 0.7899 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.814e-05/0.007192, allocations: 19.98 kB / 0.79 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003051/0.01024, allocations: 15.92 kB / 0.79 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.01026, allocations: 0 / 0.79 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.01045, allocations: 107.9 kB / 0.7901 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.01046, allocations: 11.97 kB / 0.7901 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.941e-05/0.01048, allocations: 12.88 kB / 0.7901 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.01065, allocations: 111.6 kB / 0.7902 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.01065, allocations: 0.5938 kB / 0.7902 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.162e-06/0.01065, allocations: 0 / 0.7902 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.01066, allocations: 1.375 kB / 0.7902 GB, free: 9.5 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.0003215/0.01098, allocations: 392.3 kB / 0.7906 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.01102, allocations: 8.031 kB / 0.7906 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.01112, allocations: 14.23 kB / 0.7906 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.01128, allocations: 128.5 kB / 0.7907 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.01129, allocations: 384 / 0.7907 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.01129, allocations: 5.875 kB / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.166e-05/0.01139, allocations: 58.89 kB / 0.7908 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.01139, allocations: 192 / 0.7908 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.0114, allocations: 384 / 0.7908 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.01141, allocations: 9.469 kB / 0.7908 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.234e-05/0.01143, allocations: 7.984 kB / 0.7908 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.01167, allocations: 248.4 kB / 0.791 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.822e-05/0.01172, allocations: 32.5 kB / 0.7911 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/0.01174, allocations: 11.69 kB / 0.7911 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.01192, allocations: 40.52 kB / 0.7911 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.01194, allocations: 39.42 kB / 0.7912 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.01194, allocations: 0 / 0.7912 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001501/0.01209, allocations: 37.7 kB / 0.7912 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.01213, allocations: 51.41 kB / 0.7912 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.88e-05/0.01221, allocations: 182.4 kB / 0.7914 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.01223, allocations: 25.7 kB / 0.7914 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.01228, allocations: 143.5 kB / 0.7916 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.0123, allocations: 3.953 kB / 0.7916 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.01233, allocations: 20.84 kB / 0.7916 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.01247, allocations: 0.4922 MB / 0.7921 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.01248, allocations: 0 / 0.7921 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.447e-05/0.0125, allocations: 8.625 kB / 0.7921 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.321e-05/0.01253, allocations: 16.69 kB / 0.7921 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01253, allocations: 0 / 0.7921 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.035e-05/0.01261, allocations: 46.31 kB / 0.7922 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.01263, allocations: 8 kB / 0.7922 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01263, allocations: 0.625 kB / 0.7922 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.01265, allocations: 0 / 0.7922 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.831e-05/0.01271, allocations: 4.5 kB / 0.7922 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.01271, allocations: 5.016 kB / 0.7922 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.095e-05/0.01273, allocations: 3.984 kB / 0.7922 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.01274, allocations: 0 / 0.7922 GB, free: 7.301 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 0.0001639/0.0129, allocations: 157.5 kB / 0.7923 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.01293, allocations: 7.891 kB / 0.7923 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.01306, allocations: 50.16 kB / 0.7924 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01306, allocations: 2.156 kB / 0.7924 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01306, allocations: 0 / 0.7924 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01307, allocations: 3.984 kB / 0.7924 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.01318, allocations: 105.2 kB / 0.7925 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01318, allocations: 4 kB / 0.7925 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.889e-05/0.01321, allocations: 7.938 kB / 0.7925 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01321, allocations: 2.625 kB / 0.7925 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.01322, allocations: 3.938 kB / 0.7925 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.01322, allocations: 3.984 kB / 0.7925 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01322, allocations: 0 / 0.7925 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.01333, allocations: 183.9 kB / 0.7927 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-06/0.01334, allocations: 0 / 0.7927 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.01335, allocations: 11.92 kB / 0.7927 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.879e-05/0.01338, allocations: 1.656 kB / 0.7927 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.0134, allocations: 0 / 0.7927 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.01341, allocations: 0 / 0.7927 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.754e-05/0.01345, allocations: 135.5 kB / 0.7928 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01345, allocations: 0.5 kB / 0.7928 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001593/0.01361, allocations: 20.44 kB / 0.7928 GB, free: 6.562 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.0001545/0.01377, allocations: 119.9 kB / 0.793 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.508e-05/0.01383, allocations: 12.25 kB / 0.793 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01384, allocations: 1.094 kB / 0.793 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.674e-05/0.01385, allocations: 15.67 kB / 0.793 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.01402, allocations: 8.656 kB / 0.793 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.01448, allocations: 138.9 kB / 0.7931 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.255e-05/0.01452, allocations: 63.16 kB / 0.7932 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.141e-05/0.01454, allocations: 4 kB / 0.7932 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/0.01459, allocations: 70.2 kB / 0.7933 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.01459, allocations: 0 / 0.7933 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of Templates: time 0.002429/0.01702, allocations: 0.6133 MB / 0.7939 GB, free: 5.477 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: 4.81199263362214]