Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.076/2.076, allocations: 387.4 MB / 394.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 176.9 kB / 487.4 MB, free: 5.051 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 221.5 MB / 0.7824 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008497/0.0008496, allocations: 99.75 kB / 0.9219 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.213e-05/2.221e-05, allocations: 4 kB / 1.067 GB, free: 185.8 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2489, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7839/1.033, allocations: 149.7 MB / 1.352 GB, free: 18.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001798/1.033, allocations: 72.19 kB / 1.352 GB, free: 18.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006323/1.039, allocations: 2.205 MB / 1.354 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/1.039, allocations: 4 kB / 1.354 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.29e-06/1.039, allocations: 0 / 1.354 GB, free: 33.86 MB / 0.8386 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.0002722/1.04, allocations: 358.4 kB / 1.355 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/1.04, allocations: 7.812 kB / 1.355 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/1.04, allocations: 10.41 kB / 1.355 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.406e-05/1.04, allocations: 172.4 kB / 1.355 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/1.04, allocations: 0 / 1.355 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/1.04, allocations: 0.75 kB / 1.355 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.103e-05/1.04, allocations: 26.08 kB / 1.355 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.839e-05/1.04, allocations: 46.95 kB / 1.355 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/1.04, allocations: 0 / 1.355 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/1.04, allocations: 0 / 1.355 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-06/1.04, allocations: 4.641 kB / 1.355 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/1.04, allocations: 254.2 kB / 1.355 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.19e-05/1.04, allocations: 30.64 kB / 1.355 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/1.041, allocations: 12.7 kB / 1.355 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002971/1.041, allocations: 0.554 MB / 1.356 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/1.041, allocations: 35 kB / 1.356 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.864e-06/1.041, allocations: 3.984 kB / 1.356 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000166/1.041, allocations: 43.48 kB / 1.356 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.433e-05/1.041, allocations: 59.39 kB / 1.356 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.088e-05/1.041, allocations: 106.2 kB / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.642e-06/1.041, allocations: 25.7 kB / 1.356 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/1.041, allocations: 89.28 kB / 1.356 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/1.041, allocations: 8.406 kB / 1.356 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/1.041, allocations: 0 / 1.356 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001058/1.041, allocations: 316.1 kB / 1.356 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/1.041, allocations: 3.844 kB / 1.356 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.062e-05/1.041, allocations: 12 kB / 1.356 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/1.041, allocations: 5.469 kB / 1.356 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/1.041, allocations: 0 / 1.356 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.098e-05/1.041, allocations: 43.34 kB / 1.357 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/1.041, allocations: 3.906 kB / 1.357 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/1.041, allocations: 0.7969 kB / 1.357 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/1.042, allocations: 3.906 kB / 1.357 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.78e-05/1.042, allocations: 5.141 kB / 1.357 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/1.042, allocations: 0.75 kB / 1.357 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/1.042, allocations: 16.09 kB / 1.357 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/1.042, allocations: 0.5156 kB / 1.357 GB, free: 31.59 MB / 0.8386 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 5.45e-05/1.042, allocations: 104.9 kB / 1.357 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/1.042, allocations: 8.484 kB / 1.357 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/1.042, allocations: 50.03 kB / 1.357 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/1.042, allocations: 0 / 1.357 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.042, allocations: 0 / 1.357 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/1.042, allocations: 4.594 kB / 1.357 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.82e-05/1.042, allocations: 152.9 kB / 1.357 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/1.042, allocations: 0 / 1.357 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/1.042, allocations: 9 kB / 1.357 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/1.042, allocations: 0.7031 kB / 1.357 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/1.042, allocations: 0 / 1.357 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.042, allocations: 0.6562 kB / 1.357 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.042, allocations: 0 / 1.357 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/1.042, allocations: 153 kB / 1.357 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/1.042, allocations: 81.72 kB / 1.357 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/1.042, allocations: 1.531 kB / 1.357 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.057e-05/1.042, allocations: 5.109 kB / 1.357 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/1.042, allocations: 0.6094 kB / 1.357 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/1.042, allocations: 4.594 kB / 1.357 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.623e-05/1.042, allocations: 88.36 kB / 1.357 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.042, allocations: 0 / 1.357 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002139/1.043, allocations: 16.22 kB / 1.357 GB, free: 30.95 MB / 0.8386 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.0001178/1.043, allocations: 112.2 kB / 1.357 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.351e-05/1.043, allocations: 11.91 kB / 1.357 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.043, allocations: 0 / 1.357 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.702e-05/1.043, allocations: 12.08 kB / 1.357 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/1.043, allocations: 4.5 kB / 1.357 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001688/1.043, allocations: 75.38 kB / 1.357 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/1.043, allocations: 0.6868 MB / 1.358 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.212e-05/1.043, allocations: 8.344 kB / 1.358 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/1.043, allocations: 8.094 kB / 1.358 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of SimCode: time 8.32e-07/1.043, allocations: 0 / 1.358 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of Templates: time 0.001851/1.045, allocations: 367.7 kB / 1.358 GB, free: 30.02 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Splice.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches