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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001199/0.001199, allocations: 111 kB / 16.42 MB, free: 6.523 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.001181/0.001182, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.428/1.428, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.595/2.595, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 68.12 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.053, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00233/1.055, allocations: 0.576 MB / 1.168 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001988/1.057, allocations: 1.25 MB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/1.057, allocations: 0 / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.312e-05/1.057, allocations: 0 / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.895e-06/1.057, allocations: 0 / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/1.058, allocations: 63.75 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.922e-05/1.058, allocations: 4 kB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/1.058, allocations: 7.984 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.642e-05/1.058, allocations: 4 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.911e-05/1.058, allocations: 4 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/1.058, allocations: 0 / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002883/1.058, allocations: 95.83 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/1.059, allocations: 4 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/1.059, allocations: 3.938 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/1.059, allocations: 52.92 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.059, allocations: 0 / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.382e-06/1.059, allocations: 0 / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.022e-05/1.059, allocations: 4 kB / 1.169 GB, free: 1.742 MB / 0.8887 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.0003686/1.059, allocations: 335 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/1.059, allocations: 8.922 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/1.059, allocations: 0.9375 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/1.059, allocations: 168.4 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/1.059, allocations: 384 / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/1.059, allocations: 384 / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/1.06, allocations: 34.02 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/1.06, allocations: 0 / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/1.06, allocations: 4 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/1.06, allocations: 0 / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.492e-05/1.06, allocations: 3.938 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/1.06, allocations: 157.7 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.566e-05/1.06, allocations: 14.58 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.069e-05/1.06, allocations: 4.953 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006208/1.06, allocations: 0.5661 MB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/1.061, allocations: 42.44 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.392e-06/1.061, allocations: 0 / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001492/1.061, allocations: 37.59 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/1.061, allocations: 51.41 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.661e-05/1.061, allocations: 93.86 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/1.061, allocations: 25.83 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.019e-05/1.061, allocations: 88.08 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/1.061, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/1.061, allocations: 13.72 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.061, allocations: 318.8 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/1.061, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-06/1.061, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.115e-05/1.061, allocations: 8.859 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.061, allocations: 4.062 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.166e-05/1.061, allocations: 33.64 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/1.061, allocations: 10.5 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.061, allocations: 3.938 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/1.061, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.687e-05/1.061, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/1.061, allocations: 3.984 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.404e-05/1.061, allocations: 7.938 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/1.061, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 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.462e-05/1.061, allocations: 113.9 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-06/1.061, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/1.062, allocations: 44.7 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.062, allocations: 3.984 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/1.062, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/1.062, allocations: 77.11 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/1.062, allocations: 0 / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.038e-05/1.062, allocations: 0 / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/1.062, allocations: 4.031 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.447e-05/1.062, allocations: 113 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001342/1.062, allocations: 210.7 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.801e-05/1.062, allocations: 0 / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.469e-05/1.062, allocations: 79.28 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of Backend: time 6.81e-07/1.062, allocations: 4.062 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004649/1.062, allocations: 104.5 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000334/1.063, allocations: 0.5253 MB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of Templates: time 0.002982/1.066, allocations: 0.5082 MB / 1.173 GB, free: 13.5 MB / 0.9044 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