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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.0008815/0.0008815, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008837/0.0008837, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.847/2.847, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003704, allocations: 12.56 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3804, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0008821/0.3813, allocations: 318.9 kB / 1.058 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00189/0.3832, allocations: 1.213 MB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.337e-05/0.3833, allocations: 0 / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.3833, allocations: 0 / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.901e-06/0.3833, allocations: 0 / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.3837, allocations: 47.83 kB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.49e-05/0.3837, allocations: 4 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.3838, allocations: 0 / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.279e-05/0.3838, allocations: 0 / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.127e-05/0.3839, allocations: 0 / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.3839, allocations: 4 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.3841, allocations: 95.89 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.925e-06/0.3842, allocations: 0 / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.3842, allocations: 25.7 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.3843, allocations: 43.94 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3843, allocations: 0 / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3843, allocations: 0 / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.3843, allocations: 0 / 1.06 GB, free: 3.539 MB / 0.8106 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.0004205/0.3848, allocations: 315.4 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3848, allocations: 12.02 kB / 1.06 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.3848, allocations: 15.92 kB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.385, allocations: 163 kB / 1.06 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.385, allocations: 0 / 1.06 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.385, allocations: 3.953 kB / 1.06 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.921e-05/0.3851, allocations: 29.7 kB / 1.06 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.3851, allocations: 4 kB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3851, allocations: 0 / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3851, allocations: 0 / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.998e-05/0.3852, allocations: 0 / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.3853, allocations: 149.7 kB / 1.06 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.423e-05/0.3854, allocations: 22.55 kB / 1.06 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.091e-05/0.3854, allocations: 12.86 kB / 1.06 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007841/0.3862, allocations: 0.5661 MB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.3862, allocations: 38.5 kB / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/0.3863, allocations: 0 / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002178/0.3865, allocations: 37.7 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.3865, allocations: 51.41 kB / 1.061 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.59e-05/0.3866, allocations: 89.86 kB / 1.061 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.3866, allocations: 25.7 kB / 1.061 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.3867, allocations: 84.08 kB / 1.061 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.3867, allocations: 0 / 1.061 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.3867, allocations: 4.125 kB / 1.061 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3869, allocations: 314.8 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.3869, allocations: 4 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-06/0.3869, allocations: 0 / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.895e-05/0.387, allocations: 0 / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.387, allocations: 0 / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.744e-05/0.387, allocations: 37.7 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.3871, allocations: 9.828 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3871, allocations: 0 / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3871, allocations: 4.094 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/0.3872, allocations: 4 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3872, allocations: 3.984 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.451e-05/0.3872, allocations: 0 / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3872, allocations: 0 / 1.062 GB, free: 1.223 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.579e-05/0.3873, allocations: 109.8 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.3873, allocations: 7.938 kB / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.917e-05/0.3874, allocations: 44.78 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3874, allocations: 0 / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.3874, allocations: 7.984 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.3874, allocations: 0 / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.3875, allocations: 145.7 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3876, allocations: 0 / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.712e-05/0.3876, allocations: 0 / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3876, allocations: 0 / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.3876, allocations: 0 / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.3876, allocations: 7.953 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3876, allocations: 32 / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.426e-05/0.3877, allocations: 65.06 kB / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.3877, allocations: 81.3 kB / 1.062 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.3878, allocations: 4 kB / 1.062 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.068e-05/0.3878, allocations: 0 / 1.062 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.3878, allocations: 3.953 kB / 1.062 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.3878, allocations: 0 / 1.062 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.884e-05/0.3878, allocations: 79.31 kB / 1.062 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3879, allocations: 3.938 kB / 1.062 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002343/0.3881, allocations: 7.984 kB / 1.062 GB, free: 0.5664 MB / 0.8106 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 (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.0001755/0.3883, allocations: 107.2 kB / 1.062 GB, free: 460 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.683e-05/0.3883, allocations: 4 kB / 1.062 GB, free: 456 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3884, allocations: 0 / 1.062 GB, free: 456 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-05/0.3884, allocations: 7.938 kB / 1.062 GB, free: 448 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.3885, allocations: 3.938 kB / 1.062 GB, free: 444 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001868/0.3887, allocations: 82.81 kB / 1.062 GB, free: 332 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.389, allocations: 0.6731 MB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.58e-05/0.389, allocations: 0 / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.548e-05/0.389, allocations: 7.438 kB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3891, allocations: 0 / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of Templates: time 0.002456/0.3915, allocations: 291.9 kB / 1.063 GB, free: 15.33 MB / 0.8262 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/jenkins/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