Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 106.8 kB / 16.37 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.00161, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.408/2.408, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001267, allocations: 72.66 kB / 0.8707 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.273, allocations: 151.6 MB / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001896/0.2749, allocations: 0.5744 MB / 1.019 GB, free: 9.238 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.2764, allocations: 1.253 MB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.809e-05/0.2764, allocations: 4 kB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.428e-05/0.2764, allocations: 3.938 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.56e-06/0.2764, allocations: 0 / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.2768, allocations: 75.78 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.359e-05/0.2769, allocations: 3.938 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.2769, allocations: 0 / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.423e-05/0.2769, allocations: 4 kB / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.735e-05/0.277, allocations: 0 / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.344e-06/0.277, allocations: 0 / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.2772, allocations: 99.89 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.2772, allocations: 3.984 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.697e-05/0.2772, allocations: 0 / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.2774, allocations: 51.94 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2774, allocations: 0 / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2774, allocations: 0 / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2774, allocations: 0 / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003107/0.2777, allocations: 331.5 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2778, allocations: 8.922 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.2778, allocations: 0.9375 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.676e-05/0.2779, allocations: 164.4 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.2779, allocations: 384 / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.2779, allocations: 4.375 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.065e-05/0.278, allocations: 37.95 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.2781, allocations: 3.938 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.2781, allocations: 0 / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.2781, allocations: 0 / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.272e-05/0.2781, allocations: 7.984 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.2782, allocations: 145.7 kB / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.422e-05/0.2783, allocations: 22.61 kB / 1.022 GB, free: 6.867 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.525e-05/0.2783, allocations: 4.859 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000525/0.2788, allocations: 0.5623 MB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.2789, allocations: 38.44 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.143e-06/0.2789, allocations: 4 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001102/0.279, allocations: 33.7 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.279, allocations: 51.41 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.925e-05/0.2791, allocations: 89.86 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.2791, allocations: 29.69 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.133e-05/0.2791, allocations: 80.14 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.2791, allocations: 4 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.2792, allocations: 13.72 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.453e-05/0.2792, allocations: 315 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/0.2793, allocations: 0 / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-06/0.2793, allocations: 4 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.17e-05/0.2793, allocations: 8.797 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2793, allocations: 0 / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.27e-05/0.2794, allocations: 41.69 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.2794, allocations: 7.938 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2794, allocations: 0 / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2794, allocations: 4.094 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.912e-05/0.2794, allocations: 4 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.2795, allocations: 0 / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.054e-05/0.2795, allocations: 3.938 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.2795, allocations: 0 / 1.023 GB, free: 5.379 MB / 0.795 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 (1): * Single equations (assignments): 1 * 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 6.24e-05/0.2795, allocations: 106.5 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.749e-06/0.2796, allocations: 7.938 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.529e-05/0.2797, allocations: 48.75 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.2797, allocations: 0 / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2797, allocations: 0 / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2797, allocations: 0 / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.568e-05/0.2798, allocations: 145.7 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2798, allocations: 0 / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.571e-05/0.2798, allocations: 3.984 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2798, allocations: 3.938 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.2798, allocations: 0 / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.2798, allocations: 0 / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2798, allocations: 7.938 kB / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.075e-05/0.2799, allocations: 61.11 kB / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.2799, allocations: 77.11 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.2799, allocations: 7.922 kB / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.05e-05/0.28, allocations: 8 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.28, allocations: 0 / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.28, allocations: 0 / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.236e-05/0.28, allocations: 75.28 kB / 1.023 GB, free: 4.734 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.28, allocations: 4.031 kB / 1.023 GB, free: 4.73 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001856/0.2802, allocations: 4 kB / 1.023 GB, free: 4.727 MB / 0.795 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 (1): * Single equations (assignments): 1 * 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.0001488/0.2803, allocations: 107.2 kB / 1.023 GB, free: 4.613 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.352e-05/0.2804, allocations: 7.984 kB / 1.023 GB, free: 4.605 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2804, allocations: 0 / 1.023 GB, free: 4.605 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.021e-05/0.2804, allocations: 7.938 kB / 1.023 GB, free: 4.598 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.2806, allocations: 10.84 kB / 1.023 GB, free: 4.59 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001525/0.2807, allocations: 85.11 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.2809, allocations: 0.669 MB / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.952e-05/0.281, allocations: 3.984 kB / 1.024 GB, free: 3.781 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.226e-05/0.281, allocations: 7.438 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of SimCode: time 3.1e-07/0.281, allocations: 4 kB / 1.024 GB, free: 3.77 MB / 0.795 GB Notification: Performance of Templates: time 0.00209/0.2831, allocations: 304.7 kB / 1.024 GB, free: 3.473 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches