Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0008012/0.0008014, allocations: 91.92 kB / 16.02 MB, free: 80 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.000974/0.0009741, allocations: 185.1 kB / 16.92 MB, free: 6.922 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.421/1.421, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.601/2.601, allocations: 437.8 MB / 0.7128 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004019, allocations: 16 kB / 0.8735 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6541/0.6545, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007186/0.6553, allocations: 321.6 kB / 1.024 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.657, allocations: 1.24 MB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.194e-05/0.6571, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.251e-05/0.6571, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.56e-06/0.6571, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.6575, allocations: 51.89 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.762e-05/0.6575, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.6576, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.621e-05/0.6576, allocations: 4 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.028e-05/0.6577, allocations: 15.91 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.715e-06/0.6577, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.6579, allocations: 87.91 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.749e-06/0.6579, allocations: 4 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.658, allocations: 29.69 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.6581, allocations: 31.97 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6581, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6581, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5e-06/0.6581, allocations: 4 kB / 1.025 GB, free: 14.07 MB / 0.7794 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.00032/0.6585, allocations: 327.6 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.6585, allocations: 11.97 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.6586, allocations: 8.781 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.6587, allocations: 164.4 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.6587, allocations: 384 / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.6587, allocations: 4.375 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.8e-05/0.6588, allocations: 34 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.6588, allocations: 0 / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.6588, allocations: 0 / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.6589, allocations: 4 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.14e-05/0.6589, allocations: 4 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.659, allocations: 145.7 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.778e-05/0.6591, allocations: 18.61 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.6591, allocations: 12.84 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005711/0.6597, allocations: 0.5661 MB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.6597, allocations: 34.5 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.6597, allocations: 3.938 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001276/0.6599, allocations: 33.69 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.6599, allocations: 55.34 kB / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.623e-05/0.6599, allocations: 89.86 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.66, allocations: 25.7 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.66, allocations: 88.27 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.66, allocations: 0 / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.6601, allocations: 13.72 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6602, allocations: 310.8 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.867e-06/0.6602, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-06/0.6602, allocations: 4 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.568e-05/0.6602, allocations: 4.859 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6602, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.034e-05/0.6603, allocations: 41.75 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.6603, allocations: 7.938 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.6603, allocations: 3.938 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.6604, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.279e-05/0.6604, allocations: 4 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.6604, allocations: 3.984 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.198e-05/0.6604, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.6604, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 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 7.244e-05/0.6605, allocations: 109.8 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-06/0.6605, allocations: 11.97 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.962e-05/0.6606, allocations: 36.81 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.6606, allocations: 0 / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6606, allocations: 0 / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.6607, allocations: 0 / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.6608, allocations: 157.7 kB / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.6608, allocations: 3.938 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.704e-05/0.6608, allocations: 0 / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.6608, allocations: 11.97 kB / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.6608, allocations: 3.938 kB / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.6608, allocations: 4 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6608, allocations: 0 / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.969e-05/0.6609, allocations: 53.12 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.661, allocations: 79.08 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.661, allocations: 11.88 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.123e-05/0.661, allocations: 4 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.948e-06/0.661, allocations: 4.031 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.661, allocations: 0 / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.618e-05/0.6611, allocations: 75.28 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6611, allocations: 0 / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001957/0.6613, allocations: 8 kB / 1.028 GB, free: 11.06 MB / 0.7794 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.0001731/0.6614, allocations: 111.2 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.569e-05/0.6615, allocations: 7.938 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6615, allocations: 4.062 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.415e-06/0.6615, allocations: 4 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.6617, allocations: 0 / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/0.6619, allocations: 108.4 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.6621, allocations: 0.6731 MB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.391e-05/0.6621, allocations: 7.438 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6621, allocations: 0 / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of Templates: time 0.001696/0.6638, allocations: 431.8 kB / 1.029 GB, free: 9.66 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches