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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.005228/0.005229, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001304/0.001305, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.574/2.574, allocations: 472.6 MB / 0.7453 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.91 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8325/0.8338, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002425/0.8362, allocations: 1.5 MB / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.8373, allocations: 0.6504 MB / 1.228 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.8374, allocations: 0 / 1.228 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.8374, allocations: 3.938 kB / 1.228 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.996e-05/0.8375, allocations: 11.92 kB / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.8379, allocations: 83.72 kB / 1.228 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.443e-05/0.838, allocations: 43.8 kB / 1.228 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.8381, allocations: 8 kB / 1.228 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.883e-05/0.8382, allocations: 19.92 kB / 1.228 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.17e-05/0.8383, allocations: 27.84 kB / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.8383, allocations: 4 kB / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.8385, allocations: 91.91 kB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.8385, allocations: 7.984 kB / 1.228 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.8385, allocations: 19.86 kB / 1.228 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.8387, allocations: 88.22 kB / 1.228 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.8387, allocations: 0 / 1.228 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.146e-06/0.8388, allocations: 4 kB / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.8388, allocations: 0 / 1.228 GB, free: 10.93 MB / 0.9512 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.0004799/0.8392, allocations: 363.2 kB / 1.228 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.8393, allocations: 16.02 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.8393, allocations: 8.891 kB / 1.228 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.8395, allocations: 172.3 kB / 1.229 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.8395, allocations: 384 / 1.229 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.8396, allocations: 4.375 kB / 1.229 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.8397, allocations: 57.98 kB / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.8398, allocations: 0 / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.8398, allocations: 0 / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.8398, allocations: 0 / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.388e-05/0.8399, allocations: 31.98 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.8403, allocations: 288.7 kB / 1.229 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.871e-05/0.8404, allocations: 31.73 kB / 1.229 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/0.8404, allocations: 12.92 kB / 1.229 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005171/0.841, allocations: 0.5583 MB / 1.23 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.841, allocations: 38.56 kB / 1.23 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.841, allocations: 0 / 1.23 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002432/0.8413, allocations: 61.61 kB / 1.23 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.8413, allocations: 51.41 kB / 1.23 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.889e-05/0.8414, allocations: 125.9 kB / 1.23 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.8414, allocations: 33.7 kB / 1.23 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.8415, allocations: 88.12 kB / 1.23 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.8415, allocations: 3.953 kB / 1.23 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.8415, allocations: 13.72 kB / 1.23 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.8416, allocations: 318.8 kB / 1.23 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.066e-05/0.8417, allocations: 11.98 kB / 1.23 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.421e-05/0.8417, allocations: 8 kB / 1.23 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.112e-05/0.8418, allocations: 36.78 kB / 1.23 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8418, allocations: 4 kB / 1.23 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001166/0.842, allocations: 57.62 kB / 1.23 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.842, allocations: 4 kB / 1.23 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.842, allocations: 0 / 1.23 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.842, allocations: 0 / 1.23 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.36e-05/0.8421, allocations: 11.94 kB / 1.23 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.8421, allocations: 0 / 1.23 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.401e-05/0.8421, allocations: 8.016 kB / 1.23 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.8421, allocations: 0 / 1.23 GB, free: 8.199 MB / 0.9512 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.671e-05/0.8422, allocations: 118.3 kB / 1.231 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.8423, allocations: 7.953 kB / 1.231 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/0.8424, allocations: 65.14 kB / 1.231 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.8424, allocations: 0 / 1.231 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.8424, allocations: 0 / 1.231 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.8424, allocations: 4.031 kB / 1.231 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.8426, allocations: 169.6 kB / 1.231 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.8426, allocations: 0 / 1.231 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.244e-05/0.8427, allocations: 7.984 kB / 1.231 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.8427, allocations: 0 / 1.231 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.8427, allocations: 8 kB / 1.231 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.8427, allocations: 0 / 1.231 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8427, allocations: 0 / 1.231 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.8429, allocations: 159.4 kB / 1.231 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.8429, allocations: 85.09 kB / 1.231 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.8429, allocations: 0 / 1.231 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/0.843, allocations: 4 kB / 1.231 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.843, allocations: 4 kB / 1.231 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.8431, allocations: 0 / 1.231 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.156e-05/0.8431, allocations: 95.27 kB / 1.231 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8431, allocations: 0 / 1.231 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002286/0.8434, allocations: 15.88 kB / 1.231 GB, free: 7.367 MB / 0.9512 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.0001675/0.8435, allocations: 111.2 kB / 1.231 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.8437, allocations: 23.98 kB / 1.231 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8437, allocations: 0 / 1.231 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.225e-05/0.8438, allocations: 19.92 kB / 1.231 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.844, allocations: 1.406 kB / 1.231 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.8443, allocations: 150.5 kB / 1.231 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.8446, allocations: 0.6768 MB / 1.232 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.911e-05/0.8447, allocations: 4 kB / 1.232 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/0.8447, allocations: 7.438 kB / 1.232 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of SimCode: time 3.91e-07/0.8447, allocations: 4 kB / 1.232 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of Templates: time 0.002685/0.8474, allocations: 0.5026 MB / 1.233 GB, free: 5.816 MB / 0.9512 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches