Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001864/0.001864, allocations: 80.98 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002313/0.002313, allocations: 166.3 kB / 22.46 MB, free: 5.355 MB / 14.72 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.491/1.491, allocations: 177.2 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.964/2.964, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.621e-05/3.769e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002723/0.00276, allocations: 1.521 MB / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.004163, allocations: 0.6892 MB / 0.9836 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.004226, allocations: 4 kB / 0.9836 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.113e-05/0.004257, allocations: 3.938 kB / 0.9836 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.757e-05/0.004304, allocations: 15.86 kB / 0.9836 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.004722, allocations: 95.53 kB / 0.9837 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.004833, allocations: 43.84 kB / 0.9837 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.303e-05/0.004926, allocations: 8 kB / 0.9837 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.005048, allocations: 27.91 kB / 0.9838 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.312e-05/0.005101, allocations: 11.98 kB / 0.9838 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.005116, allocations: 0 / 0.9838 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002494/0.005366, allocations: 111.9 kB / 0.9839 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.005383, allocations: 11.88 kB / 0.9839 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.005408, allocations: 15.98 kB / 0.9839 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.005645, allocations: 115.7 kB / 0.984 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.005648, allocations: 0 / 0.984 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.192e-06/0.005649, allocations: 0 / 0.984 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.005656, allocations: 0 / 0.984 GB, free: 9.277 MB / 0.9356 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.0004594/0.006116, allocations: 290 kB / 0.9843 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.006154, allocations: 12.03 kB / 0.9843 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.0063, allocations: 16.88 kB / 0.9843 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.00653, allocations: 125.6 kB / 0.9845 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.006543, allocations: 8.375 kB / 0.9845 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.006558, allocations: 4.375 kB / 0.9845 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.006716, allocations: 46.25 kB / 0.9845 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.006726, allocations: 192 / 0.9845 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.006738, allocations: 8.375 kB / 0.9845 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.006746, allocations: 3.938 kB / 0.9845 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.006847, allocations: 27.97 kB / 0.9845 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.0072, allocations: 220.4 kB / 0.9848 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.007307, allocations: 38.5 kB / 0.9848 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.719e-05/0.007364, allocations: 20.92 kB / 0.9848 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/0.007645, allocations: 35.95 kB / 0.9849 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.007675, allocations: 38.56 kB / 0.9849 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.007676, allocations: 0 / 0.9849 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002592/0.007935, allocations: 61.61 kB / 0.9849 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.007978, allocations: 55.53 kB / 0.985 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.426e-05/0.008072, allocations: 113.8 kB / 0.9851 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.008088, allocations: 25.7 kB / 0.9851 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.008143, allocations: 92.09 kB / 0.9852 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.008164, allocations: 8.266 kB / 0.9852 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.008198, allocations: 17.7 kB / 0.9852 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.008359, allocations: 314.8 kB / 0.9855 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-05/0.008402, allocations: 8 kB / 0.9856 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.096e-05/0.008443, allocations: 19.92 kB / 0.9856 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.539e-05/0.008539, allocations: 36.84 kB / 0.9856 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.008541, allocations: 0 / 0.9856 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000133/0.008674, allocations: 53.62 kB / 0.9857 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.008691, allocations: 6.5 kB / 0.9857 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.008695, allocations: 0 / 0.9857 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.008707, allocations: 0 / 0.9857 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.362e-05/0.008781, allocations: 11.98 kB / 0.9857 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.008785, allocations: 0 / 0.9857 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.008817, allocations: 0 / 0.9857 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.008824, allocations: 4.031 kB / 0.9857 GB, free: 7.418 MB / 0.9356 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.0001016/0.008926, allocations: 113.8 kB / 0.9858 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.008957, allocations: 11.89 kB / 0.9858 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.009137, allocations: 65.23 kB / 0.9859 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.00914, allocations: 0 / 0.9859 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.009144, allocations: 0 / 0.9859 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.009149, allocations: 3.984 kB / 0.9859 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.009303, allocations: 109.3 kB / 0.986 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.009303, allocations: 0 / 0.986 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.664e-05/0.00935, allocations: 11.97 kB / 0.986 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.009352, allocations: 3.938 kB / 0.986 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.009363, allocations: 4 kB / 0.986 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.009364, allocations: 0 / 0.986 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.009365, allocations: 0 / 0.986 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.009555, allocations: 151.5 kB / 0.9861 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.009569, allocations: 11.89 kB / 0.9861 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.009585, allocations: 3.984 kB / 0.9861 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.009652, allocations: 4 kB / 0.9862 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.009685, allocations: 3.984 kB / 0.9862 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.009689, allocations: 4.031 kB / 0.9862 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.588e-05/0.009745, allocations: 87.28 kB / 0.9862 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.009745, allocations: 0 / 0.9862 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002602/0.01001, allocations: 19.92 kB / 0.9863 GB, free: 6.762 MB / 0.9356 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.0002282/0.01023, allocations: 103.5 kB / 0.9864 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.01038, allocations: 23.97 kB / 0.9864 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.01038, allocations: 0 / 0.9864 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.002e-05/0.01044, allocations: 23.94 kB / 0.9864 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.01067, allocations: 4 kB / 0.9864 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.01103, allocations: 132.8 kB / 0.9865 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.604e-05/0.01109, allocations: 63.34 kB / 0.9866 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.468e-05/0.01112, allocations: 4 kB / 0.9866 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.01114, allocations: 8.5 kB / 0.9866 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of SimCode: time 4e-07/0.01115, allocations: 0 / 0.9866 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of Templates: time 0.003356/0.0145, allocations: 0.5279 MB / 0.9871 GB, free: 5.824 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.09544538334012]