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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001361/0.001361, allocations: 100.1 kB / 15.88 MB, free: 12 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.001473/0.001473, allocations: 199 kB / 16.79 MB, free: 6.809 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.396/1.396, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.627/2.627, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 65.78 kB / 0.899 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2605, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002797/0.2633, allocations: 1.557 MB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.2644, allocations: 0.6544 MB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.2645, allocations: 4 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.748e-05/0.2645, allocations: 7.922 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.791e-05/0.2646, allocations: 7.922 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.2649, allocations: 59.89 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.78e-05/0.265, allocations: 31.86 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.646e-05/0.2651, allocations: 15.98 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.417e-05/0.2652, allocations: 8 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.322e-05/0.2652, allocations: 23.84 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.2652, allocations: 4 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.2654, allocations: 103.8 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.2654, allocations: 8 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.2655, allocations: 19.86 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.2656, allocations: 64.19 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2656, allocations: 0 / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.71e-07/0.2656, allocations: 0 / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.2656, allocations: 4 kB / 1.055 GB, free: 5.703 MB / 0.8106 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.0004081/0.266, allocations: 355.4 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.2661, allocations: 11.97 kB / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.2661, allocations: 8.844 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.2662, allocations: 172.3 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.2662, allocations: 384 / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.2663, allocations: 4.375 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.2664, allocations: 61.92 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.2664, allocations: 0 / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.2664, allocations: 0 / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2665, allocations: 0 / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.022e-05/0.2666, allocations: 27.98 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.2669, allocations: 280.8 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.683e-05/0.267, allocations: 34.5 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.748e-05/0.2671, allocations: 20.84 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004768/0.2675, allocations: 0.5583 MB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.2676, allocations: 38.56 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2676, allocations: 0 / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002374/0.2678, allocations: 65.58 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.2679, allocations: 51.41 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.206e-05/0.268, allocations: 125.8 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.268, allocations: 29.7 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.268, allocations: 92.2 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.2681, allocations: 3.984 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.2681, allocations: 17.72 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2682, allocations: 318.8 kB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.562e-05/0.2682, allocations: 12 kB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.335e-05/0.2683, allocations: 7.984 kB / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.624e-05/0.2684, allocations: 24.84 kB / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2684, allocations: 4.062 kB / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001164/0.2685, allocations: 61.59 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2685, allocations: 4 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.2685, allocations: 0 / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.2685, allocations: 3.938 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.532e-05/0.2686, allocations: 7.984 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.2686, allocations: 4 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.289e-05/0.2687, allocations: 3.938 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.2687, allocations: 0 / 1.058 GB, free: 2.977 MB / 0.8106 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.437e-05/0.2688, allocations: 117.8 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.2688, allocations: 4 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.2689, allocations: 61.2 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.269, allocations: 0 / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.269, allocations: 0 / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.269, allocations: 0 / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.2691, allocations: 173.6 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2691, allocations: 4.031 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.917e-05/0.2692, allocations: 15.92 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2692, allocations: 3.938 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.2692, allocations: 4 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.2692, allocations: 0 / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2692, allocations: 0 / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.2694, allocations: 155.4 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.2694, allocations: 89.05 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.2695, allocations: 0 / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.159e-05/0.2695, allocations: 0 / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.2696, allocations: 7.984 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.2696, allocations: 0 / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.836e-05/0.2696, allocations: 95.27 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2696, allocations: 0 / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002294/0.2699, allocations: 19.94 kB / 1.058 GB, free: 2.141 MB / 0.8106 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.0001262/0.27, allocations: 103.2 kB / 1.058 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.2701, allocations: 27.92 kB / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2701, allocations: 0 / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.29e-05/0.2702, allocations: 11.98 kB / 1.058 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.2704, allocations: 7.875 kB / 1.058 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.2707, allocations: 166.1 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.271, allocations: 0.6848 MB / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.365e-05/0.271, allocations: 11.44 kB / 1.059 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of SimCode: time 4.01e-07/0.271, allocations: 0 / 1.059 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of Templates: time 0.001922/0.2729, allocations: 0.7184 MB / 1.06 GB, free: 356 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches