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.00103/0.00103, allocations: 99.19 kB / 16.02 MB, free: 72 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.001292/0.001292, allocations: 181.7 kB / 16.92 MB, free: 6.914 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.409/1.409, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.689/2.689, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003902, allocations: 8.969 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2852, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.000743/0.286, allocations: 310.9 kB / 1.06 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.2875, allocations: 1.264 MB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.216e-05/0.2875, allocations: 0 / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.406e-05/0.2876, allocations: 0 / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.659e-06/0.2876, allocations: 0 / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.2879, allocations: 43.89 kB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.18e-05/0.2879, allocations: 0 / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.288, allocations: 4 kB / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.645e-05/0.288, allocations: 3.938 kB / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.176e-05/0.288, allocations: 3.938 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.356e-06/0.288, allocations: 4 kB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.2883, allocations: 107.8 kB / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.358e-06/0.2883, allocations: 0 / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.2883, allocations: 25.7 kB / 1.061 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.44e-05/0.2884, allocations: 39.95 kB / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2884, allocations: 0 / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.582e-06/0.2884, allocations: 0 / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.2885, allocations: 0 / 1.061 GB, free: 3.145 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.0002938/0.2887, allocations: 319.6 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2888, allocations: 19.97 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.2888, allocations: 0.9375 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.23e-05/0.2889, allocations: 164.4 kB / 1.062 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.2889, allocations: 384 / 1.062 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.289, allocations: 384 / 1.062 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.814e-05/0.2891, allocations: 42 kB / 1.062 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.2891, allocations: 0 / 1.062 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.2891, allocations: 0 / 1.062 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2891, allocations: 0 / 1.062 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.961e-05/0.2891, allocations: 3.938 kB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.2893, allocations: 145.7 kB / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.339e-05/0.2893, allocations: 18.61 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.45e-05/0.2893, allocations: 4.859 kB / 1.062 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00055/0.2899, allocations: 0.5662 MB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.2899, allocations: 42.44 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.031e-06/0.2899, allocations: 0 / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001209/0.29, allocations: 45.62 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.2901, allocations: 51.41 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.321e-05/0.2901, allocations: 89.86 kB / 1.063 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.2901, allocations: 25.7 kB / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.288e-05/0.2902, allocations: 80.14 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.2902, allocations: 0 / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.2902, allocations: 13.84 kB / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2903, allocations: 310.8 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.136e-06/0.2904, allocations: 4 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.458e-06/0.2904, allocations: 0 / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.127e-05/0.2904, allocations: 12.86 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.2904, allocations: 0 / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.811e-05/0.2905, allocations: 37.62 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2905, allocations: 13.34 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2905, allocations: 4.094 kB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.2905, allocations: 3.938 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.973e-05/0.2906, allocations: 0 / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2906, allocations: 4 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.061e-05/0.2906, allocations: 0 / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.2906, allocations: 4 kB / 1.063 GB, free: 0.7969 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.627e-05/0.2907, allocations: 105.8 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-06/0.2907, allocations: 3.938 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.652e-05/0.2908, allocations: 52.73 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.2908, allocations: 4 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2908, allocations: 0 / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.2908, allocations: 0 / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.2909, allocations: 141.7 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2909, allocations: 3.984 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.371e-05/0.2909, allocations: 4 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.2909, allocations: 3.938 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.291, allocations: 0 / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.291, allocations: 4.031 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.291, allocations: 0 / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.142e-05/0.291, allocations: 57.14 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.2911, allocations: 85.31 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.2911, allocations: 3.938 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.109e-05/0.2911, allocations: 0 / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.013e-05/0.2911, allocations: 3.938 kB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.2911, allocations: 4.031 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.554e-05/0.2912, allocations: 79.28 kB / 1.064 GB, free: 156 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2912, allocations: 0 / 1.064 GB, free: 156 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001864/0.2914, allocations: 8 kB / 1.064 GB, free: 148 kB / 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 (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.0001548/0.2915, allocations: 107.2 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.948e-05/0.2916, allocations: 4 kB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.2916, allocations: 0 / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-05/0.2916, allocations: 4 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.2918, allocations: 12.06 kB / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001915/0.292, allocations: 96.38 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.2922, allocations: 0.6692 MB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.396e-05/0.2922, allocations: 15.36 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2922, allocations: 0 / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of Templates: time 0.00178/0.294, allocations: 427.9 kB / 1.065 GB, free: 14.75 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/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