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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001383/0.001383, allocations: 108 kB / 15.6 MB, free: 132 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.001098/0.001098, allocations: 192 kB / 16.53 MB, free: 6.391 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 437 MB / 0.7103 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.91 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7303/0.7317, allocations: 151.6 MB / 1.017 GB, free: 2.578 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003048/0.7348, allocations: 1.491 MB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.736, allocations: 0.6552 MB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.733e-05/0.736, allocations: 0 / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.7361, allocations: 3.938 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.318e-05/0.7362, allocations: 3.938 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.7365, allocations: 79.73 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.553e-05/0.7366, allocations: 31.92 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.7367, allocations: 19.97 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.623e-05/0.7368, allocations: 19.88 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.163e-05/0.7369, allocations: 23.86 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.7369, allocations: 4 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.7371, allocations: 99.89 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.7371, allocations: 7.984 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.7372, allocations: 19.88 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.7374, allocations: 81.8 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7374, allocations: 0 / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7374, allocations: 4 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.7374, allocations: 4 kB / 1.02 GB, free: 20 kB / 0.7637 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.0005501/0.7379, allocations: 359.3 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.738, allocations: 8.031 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.738, allocations: 16.78 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.7382, allocations: 172.3 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.7382, allocations: 384 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.7382, allocations: 4.375 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.7384, allocations: 65.92 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.7384, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.7384, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.7384, allocations: 3.938 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.745e-05/0.7385, allocations: 27.98 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.739, allocations: 280.7 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.799e-05/0.7391, allocations: 34.5 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.227e-05/0.7391, allocations: 20.91 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004842/0.7396, allocations: 0.5505 MB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.7397, allocations: 42.56 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.7397, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002514/0.7399, allocations: 69.52 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.74, allocations: 51.41 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.7401, allocations: 125.8 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.7401, allocations: 25.7 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.7402, allocations: 88.14 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.7402, allocations: 3.906 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.7402, allocations: 13.72 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.7403, allocations: 326.9 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.192e-05/0.7404, allocations: 8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.609e-05/0.7404, allocations: 11.98 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.784e-05/0.7405, allocations: 24.84 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.7405, allocations: 4 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001221/0.7406, allocations: 53.62 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.7407, allocations: 6.281 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.7407, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.7407, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.294e-05/0.7408, allocations: 11.98 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.7408, allocations: 3.984 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.646e-05/0.7408, allocations: 7.844 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.7408, allocations: 0 / 1.022 GB, free: 13.28 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.156e-05/0.7409, allocations: 117.8 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.741, allocations: 4 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.7411, allocations: 65.2 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.7411, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7411, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.7412, allocations: 7.875 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.7413, allocations: 165.6 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.7413, allocations: 3.938 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.7414, allocations: 7.984 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.7414, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.7414, allocations: 8 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7414, allocations: 4.031 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7414, allocations: 0 / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.7416, allocations: 151.4 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.7416, allocations: 81.11 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.7416, allocations: 0 / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.266e-05/0.7417, allocations: 0 / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.7417, allocations: 11.98 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.7418, allocations: 4.031 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.243e-05/0.7418, allocations: 95.27 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7418, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00023/0.7421, allocations: 11.94 kB / 1.023 GB, free: 12.46 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.0001955/0.7423, allocations: 107.2 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.7424, allocations: 23.98 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7424, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.848e-05/0.7425, allocations: 20.05 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.7427, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.743, allocations: 134.6 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.7433, allocations: 0.6846 MB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.532e-05/0.7433, allocations: 11.92 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.7433, allocations: 7.438 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.7433, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.002602/0.7459, allocations: 497.7 kB / 1.024 GB, free: 10.93 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches