Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 179.3 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.611/2.611, allocations: 437.8 MB / 0.7128 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.000398, allocations: 12 kB / 0.8735 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7283/0.7287, allocations: 153.8 MB / 1.024 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001882/0.7306, allocations: 1.223 MB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.7319, allocations: 0.6398 MB / 1.026 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.732, allocations: 4 kB / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.95e-05/0.732, allocations: 0 / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.801e-05/0.7321, allocations: 3.938 kB / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.7324, allocations: 63.81 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.49e-05/0.7325, allocations: 31.92 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.306e-05/0.7326, allocations: 11.94 kB / 1.026 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.581e-05/0.7327, allocations: 23.91 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.516e-05/0.7328, allocations: 15.88 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.7328, allocations: 0 / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.733, allocations: 99.89 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.733, allocations: 3.984 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.7331, allocations: 41.58 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.7332, allocations: 61.88 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.7332, allocations: 0 / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7332, allocations: 0 / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.7332, allocations: 0 / 1.026 GB, free: 13.59 MB / 0.7794 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.0004233/0.7336, allocations: 359.3 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.7337, allocations: 12.03 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.7337, allocations: 0.9375 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.7339, allocations: 176.2 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.7339, allocations: 4.375 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.7339, allocations: 4.375 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.7341, allocations: 61.98 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.7342, allocations: 0 / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.7342, allocations: 4 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.7342, allocations: 0 / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.822e-05/0.7343, allocations: 27.98 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.7347, allocations: 280.7 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.759e-05/0.7348, allocations: 38.56 kB / 1.027 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.7348, allocations: 20.91 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004631/0.7353, allocations: 0.5583 MB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.7354, allocations: 34.55 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.375e-06/0.7354, allocations: 4 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002552/0.7356, allocations: 73.61 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.7357, allocations: 55.34 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.7358, allocations: 121.8 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.7358, allocations: 25.7 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.7358, allocations: 100.2 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.7359, allocations: 0 / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.7359, allocations: 9.719 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.736, allocations: 322.8 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.212e-05/0.7361, allocations: 8 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.14e-05/0.7361, allocations: 15.98 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.7e-05/0.7362, allocations: 36.84 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.7362, allocations: 0 / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001333/0.7364, allocations: 61.59 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.7364, allocations: 4 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.7364, allocations: 3.938 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.7364, allocations: 0 / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.264e-05/0.7365, allocations: 16.03 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.7365, allocations: 3.984 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.552e-05/0.7366, allocations: 3.938 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.7366, allocations: 4 kB / 1.028 GB, free: 10.82 MB / 0.7794 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.686e-05/0.7367, allocations: 114.3 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.7367, allocations: 7.906 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.7369, allocations: 69.14 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.7369, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.7369, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.7369, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.7371, allocations: 169.6 kB / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7371, allocations: 0 / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.7372, allocations: 11.98 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7372, allocations: 0 / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.7372, allocations: 0 / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7372, allocations: 0 / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7372, allocations: 4.031 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.7374, allocations: 167.3 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.7374, allocations: 81.05 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.7374, allocations: 0 / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.283e-05/0.7375, allocations: 4 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.7375, allocations: 4.031 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.7376, allocations: 7.984 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.629e-05/0.7376, allocations: 91.28 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7376, allocations: 0 / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002321/0.7379, allocations: 23.92 kB / 1.029 GB, free: 9.98 MB / 0.7794 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.0001577/0.738, allocations: 99.25 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001317/0.7382, allocations: 27.98 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7382, allocations: 0 / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.78e-05/0.7382, allocations: 23.92 kB / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.7385, allocations: 3.266 kB / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.7388, allocations: 174.5 kB / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.7391, allocations: 0.677 MB / 1.03 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.7391, allocations: 15.42 kB / 1.03 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7391, allocations: 0 / 1.03 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of Templates: time 0.002102/0.7412, allocations: 0.7148 MB / 1.031 GB, free: 8.188 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches