Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.57/1.57, allocations: 249.5 MB / 257 MB, free: 6.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 184.8 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.3 MB / 0.5671 GB, free: 15.9 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008811/0.0008811, allocations: 84.86 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.904e-05/1.906e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2211, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7638/0.985, allocations: 133.1 MB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.9853, allocations: 84.56 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006578/0.9919, allocations: 2.141 MB / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9919, allocations: 0 / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.992, allocations: 0 / 1.017 GB, free: 2.895 MB / 0.6355 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.0003576/0.9923, allocations: 360.9 kB / 1.018 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.9924, allocations: 8.031 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.9924, allocations: 11.91 kB / 1.018 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.9926, allocations: 171 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.9926, allocations: 0 / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.9926, allocations: 0 / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.122e-05/0.9927, allocations: 25.98 kB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.823e-05/0.9928, allocations: 41.31 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.9928, allocations: 0 / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.9928, allocations: 0 / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.9928, allocations: 0 / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.9932, allocations: 254.8 kB / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.271e-05/0.9933, allocations: 32.97 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.9933, allocations: 12.55 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004811/0.9938, allocations: 0.5545 MB / 1.019 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.9939, allocations: 34.56 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.9939, allocations: 0 / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002051/0.9941, allocations: 48.38 kB / 1.019 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.9941, allocations: 51.41 kB / 1.019 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.462e-05/0.9942, allocations: 108.1 kB / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.9942, allocations: 25.7 kB / 1.019 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/0.9943, allocations: 94.97 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.9943, allocations: 11.78 kB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-06/0.9943, allocations: 4.031 kB / 1.019 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.9944, allocations: 313.4 kB / 1.019 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.9945, allocations: 7 kB / 1.019 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.279e-05/0.9945, allocations: 4 kB / 1.019 GB, free: 500 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.898e-05/0.9945, allocations: 11.3 kB / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9945, allocations: 0 / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.009e-05/0.9946, allocations: 43.95 kB / 1.02 GB, free: 444 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.9946, allocations: 4 kB / 1.02 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.9947, allocations: 4.094 kB / 1.02 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.9947, allocations: 0 / 1.02 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.844e-05/0.9948, allocations: 11.98 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.9948, allocations: 0.5469 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.937e-05/0.9948, allocations: 0 / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.9948, allocations: 7.953 kB / 1.02 GB, free: 416 kB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.01e-05/0.9949, allocations: 101 kB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.9949, allocations: 3.906 kB / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.9951, allocations: 68.09 kB / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.9951, allocations: 0 / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.9951, allocations: 4 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.9951, allocations: 0 / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.9952, allocations: 144.5 kB / 1.02 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.9952, allocations: 4 kB / 1.02 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.9953, allocations: 4.875 kB / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.9953, allocations: 0 / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.9953, allocations: 0 / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.9953, allocations: 320 / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.9953, allocations: 4.031 kB / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.9955, allocations: 150.4 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.9955, allocations: 81.02 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.9956, allocations: 7.984 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.246e-05/0.9956, allocations: 4 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.9957, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.9957, allocations: 4.016 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.9957, allocations: 95.02 kB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9957, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002107/0.996, allocations: 11.98 kB / 1.02 GB, free: 15.67 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001759/0.9961, allocations: 107.2 kB / 1.02 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.609e-05/0.9962, allocations: 11.88 kB / 1.02 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9962, allocations: 3.938 kB / 1.02 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.223e-05/0.9963, allocations: 8 kB / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.9964, allocations: 15.77 kB / 1.02 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002126/0.9966, allocations: 67.81 kB / 1.02 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.9969, allocations: 0.6885 MB / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.323e-05/0.997, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.785e-05/0.997, allocations: 7.438 kB / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.997, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of Templates: time 0.00211/0.9991, allocations: 373.7 kB / 1.021 GB, free: 14.37 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_Splice.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches