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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.005299/0.0053, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.00119/0.00119, allocations: 195.2 kB / 16.68 MB, free: 5.969 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.61/2.61, allocations: 472.6 MB / 0.7453 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.89 kB / 1.07 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9934/0.9948, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002179/0.997, allocations: 0.5846 MB / 1.226 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.9989, allocations: 1.254 MB / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.893e-05/0.9989, allocations: 0 / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.9989, allocations: 0 / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.335e-06/0.999, allocations: 4 kB / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.9994, allocations: 63.75 kB / 1.228 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.005e-05/0.9994, allocations: 7.984 kB / 1.228 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.9995, allocations: 4 kB / 1.228 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.507e-05/0.9995, allocations: 3.938 kB / 1.228 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/0.9996, allocations: 0 / 1.228 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.9996, allocations: 0 / 1.228 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/0.9998, allocations: 99.88 kB / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.9999, allocations: 0 / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.9999, allocations: 8 kB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/1, allocations: 47.45 kB / 1.228 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/1, allocations: 8 kB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.244e-06/1, allocations: 0 / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.037e-05/1, allocations: 0 / 1.228 GB, free: 11.43 MB / 0.9512 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.0003428/1, allocations: 328.4 kB / 1.228 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/1, allocations: 12.03 kB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/1.001, allocations: 0.9375 kB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.716e-05/1.001, allocations: 164.3 kB / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/1.001, allocations: 384 / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-06/1.001, allocations: 8.312 kB / 1.228 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/1.001, allocations: 38 kB / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.001, allocations: 0 / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/1.001, allocations: 0 / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/1.001, allocations: 3.938 kB / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.328e-05/1.001, allocations: 0 / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/1.001, allocations: 145.7 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.007e-05/1.001, allocations: 22.52 kB / 1.228 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/1.001, allocations: 8.859 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005992/1.002, allocations: 0.5662 MB / 1.229 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/1.002, allocations: 34.5 kB / 1.229 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/1.002, allocations: 0 / 1.229 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001496/1.002, allocations: 33.69 kB / 1.229 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/1.002, allocations: 55.53 kB / 1.229 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.547e-05/1.002, allocations: 89.86 kB / 1.229 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/1.002, allocations: 33.64 kB / 1.229 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/1.002, allocations: 84.14 kB / 1.229 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/1.002, allocations: 0 / 1.229 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/1.002, allocations: 9.719 kB / 1.229 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.752e-05/1.002, allocations: 310.8 kB / 1.23 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/1.002, allocations: 4 kB / 1.23 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-06/1.002, allocations: 4 kB / 1.23 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.029e-05/1.002, allocations: 12.86 kB / 1.23 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.002, allocations: 0 / 1.23 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.223e-05/1.002, allocations: 37.69 kB / 1.23 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.002, allocations: 7.938 kB / 1.23 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/1.002, allocations: 4 kB / 1.23 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/1.002, allocations: 0 / 1.23 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.008e-05/1.002, allocations: 3.938 kB / 1.23 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/1.002, allocations: 3.984 kB / 1.23 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.221e-05/1.002, allocations: 8.031 kB / 1.23 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/1.002, allocations: 4 kB / 1.23 GB, free: 9.074 MB / 0.9512 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.242e-05/1.003, allocations: 105.8 kB / 1.23 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/1.003, allocations: 7.922 kB / 1.23 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.886e-05/1.003, allocations: 36.83 kB / 1.23 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/1.003, allocations: 4 kB / 1.23 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.003, allocations: 4.031 kB / 1.23 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/1.003, allocations: 0 / 1.23 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.925e-05/1.003, allocations: 145.7 kB / 1.23 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.003, allocations: 0 / 1.23 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.56e-05/1.003, allocations: 7.938 kB / 1.23 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/1.003, allocations: 3.938 kB / 1.23 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/1.003, allocations: 3.938 kB / 1.23 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.003, allocations: 0 / 1.23 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/1.003, allocations: 3.938 kB / 1.23 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.52e-05/1.003, allocations: 65.12 kB / 1.23 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/1.003, allocations: 77.11 kB / 1.23 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/1.003, allocations: 3.938 kB / 1.23 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.378e-06/1.003, allocations: 0 / 1.23 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/1.003, allocations: 3.984 kB / 1.23 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-06/1.003, allocations: 0 / 1.23 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 2.93e-05/1.003, allocations: 79.28 kB / 1.23 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/1.003, allocations: 0 / 1.23 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002005/1.003, allocations: 4 kB / 1.23 GB, free: 8.426 MB / 0.9512 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.0001875/1.003, allocations: 115.2 kB / 1.23 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.134e-05/1.004, allocations: 7.938 kB / 1.23 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.004, allocations: 0 / 1.23 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.216e-06/1.004, allocations: 4 kB / 1.23 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/1.004, allocations: 13.59 kB / 1.23 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001898/1.004, allocations: 80.97 kB / 1.23 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/1.004, allocations: 0.6769 MB / 1.231 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.175e-05/1.004, allocations: 4 kB / 1.231 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.535e-05/1.004, allocations: 7.438 kB / 1.231 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/1.004, allocations: 0 / 1.231 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of Templates: time 0.002379/1.007, allocations: 299.9 kB / 1.231 GB, free: 7.168 MB / 0.9512 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