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.00134/0.00134, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001359/0.001359, allocations: 173.7 kB / 23.27 MB, free: 1.223 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.071/1.071, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.617/2.617, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 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.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 2.525e-06/2.525e-06, allocations: 0 / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.502e-05/3.754e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002885/0.002923, allocations: 1.548 MB / 0.8913 GB, free: 8.211 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.004164, allocations: 0.7088 MB / 0.892 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.004266, allocations: 0 / 0.892 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.241e-05/0.004309, allocations: 3.938 kB / 0.892 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.403e-05/0.004383, allocations: 11.94 kB / 0.892 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.004949, allocations: 107.5 kB / 0.8921 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.005076, allocations: 43.78 kB / 0.8921 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.005186, allocations: 11.98 kB / 0.8921 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.00532, allocations: 19.98 kB / 0.8921 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.29e-05/0.005373, allocations: 15.92 kB / 0.8922 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.005393, allocations: 4 kB / 0.8922 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002366/0.005629, allocations: 111.9 kB / 0.8923 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.005647, allocations: 7.938 kB / 0.8923 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.005674, allocations: 15.98 kB / 0.8923 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.005877, allocations: 107.6 kB / 0.8924 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.005881, allocations: 0 / 0.8924 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.044e-06/0.005883, allocations: 0 / 0.8924 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.005889, allocations: 4 kB / 0.8924 GB, free: 7.039 MB / 0.8542 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.0004463/0.006335, allocations: 392.3 kB / 0.8928 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.006394, allocations: 12.62 kB / 0.8928 GB, free: 6.609 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.006566, allocations: 12.89 kB / 0.8928 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.006761, allocations: 128.5 kB / 0.8929 GB, free: 6.445 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.006777, allocations: 384 / 0.8929 GB, free: 6.445 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.006787, allocations: 8.375 kB / 0.8929 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.006934, allocations: 58.94 kB / 0.893 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.006945, allocations: 192 / 0.893 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.006955, allocations: 384 / 0.893 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.006967, allocations: 3.938 kB / 0.893 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.206e-05/0.006989, allocations: 8 kB / 0.893 GB, free: 6.359 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.007357, allocations: 244.3 kB / 0.8932 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.302e-05/0.00742, allocations: 35.11 kB / 0.8933 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.007438, allocations: 11.75 kB / 0.8933 GB, free: 6.031 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002207/0.007659, allocations: 51.91 kB / 0.8933 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.00769, allocations: 33.39 kB / 0.8934 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 2.174e-06/0.007692, allocations: 7.875 kB / 0.8934 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002142/0.007906, allocations: 49.64 kB / 0.8934 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.007946, allocations: 51.41 kB / 0.8935 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.008058, allocations: 165.9 kB / 0.8936 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.008074, allocations: 29.7 kB / 0.8936 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.00814, allocations: 138.9 kB / 0.8938 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.008161, allocations: 11.95 kB / 0.8938 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.00819, allocations: 19.38 kB / 0.8938 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.008345, allocations: 0.4884 MB / 0.8943 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.008359, allocations: 3.984 kB / 0.8943 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.175e-05/0.00837, allocations: 3.938 kB / 0.8943 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.937e-05/0.0084, allocations: 11.69 kB / 0.8943 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.008403, allocations: 0 / 0.8943 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.665e-05/0.008479, allocations: 45.64 kB / 0.8943 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.008498, allocations: 4 kB / 0.8944 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.008506, allocations: 8.078 kB / 0.8944 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.00852, allocations: 0 / 0.8944 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.685e-05/0.008597, allocations: 4 kB / 0.8944 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.008601, allocations: 0 / 0.8944 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.008619, allocations: 4 kB / 0.8944 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.008625, allocations: 0 / 0.8944 GB, free: 4.824 MB / 0.8542 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 7.924e-05/0.008704, allocations: 156.5 kB / 0.8945 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.008723, allocations: 11.89 kB / 0.8945 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.008847, allocations: 49.3 kB / 0.8946 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.008849, allocations: 32 / 0.8946 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.008851, allocations: 4 kB / 0.8946 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.008854, allocations: 0 / 0.8946 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.008968, allocations: 101.2 kB / 0.8947 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.00897, allocations: 0 / 0.8947 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.918e-05/0.008999, allocations: 7.984 kB / 0.8947 GB, free: 4.453 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.009002, allocations: 0 / 0.8947 GB, free: 4.453 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.009008, allocations: 3.938 kB / 0.8947 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.00901, allocations: 4 kB / 0.8947 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.009012, allocations: 0 / 0.8947 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.009136, allocations: 187.9 kB / 0.8949 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.009146, allocations: 11.98 kB / 0.8949 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.009157, allocations: 7.875 kB / 0.8949 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.826e-05/0.009185, allocations: 0 / 0.8949 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.009215, allocations: 7.984 kB / 0.8949 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.009219, allocations: 0 / 0.8949 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.544e-05/0.009264, allocations: 127.2 kB / 0.895 GB, free: 4.09 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009264, allocations: 0 / 0.895 GB, free: 4.09 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001673/0.009432, allocations: 19.92 kB / 0.895 GB, free: 4.07 MB / 0.8542 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.0002017/0.009634, allocations: 111.2 kB / 0.8951 GB, free: 3.953 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.748e-05/0.009721, allocations: 23.61 kB / 0.8952 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.009723, allocations: 0 / 0.8952 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.572e-05/0.009739, allocations: 11.69 kB / 0.8952 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.00991, allocations: 11.94 kB / 0.8952 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005251/0.01043, allocations: 146.1 kB / 0.8953 GB, free: 3.727 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.01048, allocations: 51.36 kB / 0.8954 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.364e-05/0.01051, allocations: 8.109 kB / 0.8954 GB, free: 3.648 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.01057, allocations: 74.19 kB / 0.8955 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of SimCode: time 1.222e-06/0.01057, allocations: 0 / 0.8955 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of Templates: time 0.002976/0.01354, allocations: 0.6038 MB / 0.896 GB, free: 2.973 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","",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.9845589539036155]