Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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_latest_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.001285/0.001285, allocations: 107.6 kB / 16.41 MB, free: 6.461 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.001364/0.001364, allocations: 187 kB / 17.34 MB, free: 5.719 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.612/2.612, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 71.91 kB / 1.055 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9309/0.9324, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001829/0.9343, allocations: 0.5799 MB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.936, allocations: 1.252 MB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.9361, allocations: 0 / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.564e-05/0.9361, allocations: 0 / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.981e-06/0.9361, allocations: 0 / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.9365, allocations: 67.75 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.63e-05/0.9366, allocations: 0 / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.9366, allocations: 4 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.306e-05/0.9367, allocations: 0 / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.972e-05/0.9367, allocations: 3.984 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.505e-06/0.9367, allocations: 0 / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002527/0.937, allocations: 103.9 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.937, allocations: 3.984 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.633e-05/0.937, allocations: 3.938 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.9372, allocations: 55.94 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9372, allocations: 0 / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9372, allocations: 4 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.9372, allocations: 0 / 1.21 GB, free: 11.5 MB / 0.9356 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.0003157/0.9375, allocations: 323.6 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.9376, allocations: 8.031 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.9376, allocations: 8.875 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.676e-05/0.9377, allocations: 160.4 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.9377, allocations: 4.375 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.9377, allocations: 384 / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.781e-05/0.9378, allocations: 38 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.9379, allocations: 7.984 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.9379, allocations: 0 / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.9379, allocations: 0 / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.346e-05/0.9379, allocations: 4 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.938, allocations: 141.7 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.914e-05/0.9381, allocations: 26.55 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.9381, allocations: 8.859 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005744/0.9387, allocations: 0.5623 MB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.9388, allocations: 34.5 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.9388, allocations: 0 / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001413/0.9389, allocations: 37.69 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.939, allocations: 59.47 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.177e-05/0.939, allocations: 89.86 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.939, allocations: 25.7 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.576e-05/0.939, allocations: 84.14 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.9391, allocations: 7.844 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.9391, allocations: 9.719 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.9392, allocations: 310.8 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.9393, allocations: 7.938 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.558e-05/0.9393, allocations: 8 kB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.636e-05/0.9393, allocations: 8.859 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9393, allocations: 0 / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.597e-05/0.9394, allocations: 33.69 kB / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.9394, allocations: 7.938 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.9394, allocations: 4 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.9394, allocations: 3.938 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.207e-05/0.9395, allocations: 0 / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.9395, allocations: 0 / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.092e-05/0.9395, allocations: 4.094 kB / 1.212 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.9395, allocations: 4 kB / 1.212 GB, free: 9.148 MB / 0.9356 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.631e-05/0.9396, allocations: 105.8 kB / 1.213 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.9396, allocations: 7.922 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.912e-05/0.9397, allocations: 36.83 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.9397, allocations: 0 / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9397, allocations: 4 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.9397, allocations: 4.031 kB / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.976e-05/0.9398, allocations: 145.7 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.9398, allocations: 0 / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.739e-05/0.9399, allocations: 4 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.9399, allocations: 3.938 kB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.9399, allocations: 0 / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.9399, allocations: 3.938 kB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9399, allocations: 0 / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.933e-05/0.94, allocations: 65.12 kB / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.94, allocations: 77.11 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.94, allocations: 3.938 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.137e-06/0.94, allocations: 0 / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.9401, allocations: 0 / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.9401, allocations: 4 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.787e-05/0.9401, allocations: 75.28 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.543e-06/0.9401, allocations: 4 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001967/0.9403, allocations: 7.938 kB / 1.213 GB, free: 8.504 MB / 0.9356 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.0001709/0.9405, allocations: 119.3 kB / 1.213 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.038e-05/0.9406, allocations: 7.938 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.9406, allocations: 0 / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.123e-06/0.9406, allocations: 0 / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.9407, allocations: 7.797 kB / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001867/0.9409, allocations: 98.64 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.9412, allocations: 0.6729 MB / 1.214 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.791e-05/0.9412, allocations: 23.5 kB / 1.214 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.9412, allocations: 0 / 1.214 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of Templates: time 0.001891/0.9431, allocations: 435.8 kB / 1.214 GB, free: 7.09 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches