Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001433/0.001433, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001756/0.001756, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.484/1.484, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 71.89 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.014, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001723/1.015, allocations: 0.5732 MB / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001501/1.017, allocations: 1.264 MB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.802e-05/1.017, allocations: 0 / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/1.017, allocations: 1 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.821e-06/1.017, allocations: 0 / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/1.017, allocations: 64.11 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.961e-05/1.017, allocations: 2.453 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.384e-05/1.018, allocations: 1.656 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.799e-05/1.018, allocations: 1.625 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.688e-05/1.018, allocations: 0.7188 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.316e-06/1.018, allocations: 4 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/1.018, allocations: 101.9 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.989e-06/1.018, allocations: 0 / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/1.018, allocations: 1.281 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/1.018, allocations: 52.55 kB / 1.091 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.018, allocations: 0 / 1.091 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/1.018, allocations: 0 / 1.091 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.004e-06/1.018, allocations: 1.312 kB / 1.091 GB, free: 4.164 MB / 0.8575 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.0002784/1.018, allocations: 328.9 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/1.018, allocations: 13.73 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/1.018, allocations: 0.9375 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.528e-05/1.019, allocations: 161.1 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/1.019, allocations: 9.375 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/1.019, allocations: 2.078 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.615e-05/1.019, allocations: 36.55 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/1.019, allocations: 0 / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/1.019, allocations: 1.375 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/1.019, allocations: 0 / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/1.019, allocations: 1.891 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000109/1.019, allocations: 156.5 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 2.961e-05/1.019, allocations: 20.2 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.521e-05/1.019, allocations: 10.94 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000457/1.019, allocations: 0.5583 MB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/1.019, allocations: 40.45 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/1.019, allocations: 0 / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001299/1.02, allocations: 36.44 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.918e-05/1.02, allocations: 52.11 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.793e-05/1.02, allocations: 89.86 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/1.02, allocations: 26.77 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.186e-05/1.02, allocations: 80.75 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/1.02, allocations: 1.25 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/1.02, allocations: 15.47 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.852e-05/1.02, allocations: 312.5 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-06/1.02, allocations: 4.969 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-06/1.02, allocations: 1.734 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.333e-05/1.02, allocations: 11.98 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.02, allocations: 0 / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.627e-05/1.02, allocations: 32.77 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/1.02, allocations: 9.844 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.02, allocations: 5 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/1.02, allocations: 0 / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.579e-05/1.02, allocations: 3.031 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/1.02, allocations: 7.922 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.397e-05/1.02, allocations: 1.844 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/1.02, allocations: 3.938 kB / 1.093 GB, free: 1.91 MB / 0.8575 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 4.698e-05/1.02, allocations: 110.8 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/1.02, allocations: 0 / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.939e-05/1.02, allocations: 48.84 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/1.02, allocations: 1.094 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/1.02, allocations: 0 / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/1.02, allocations: 82.98 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/1.02, allocations: 0.6094 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.848e-06/1.02, allocations: 1.062 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/1.02, allocations: 5.641 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.121e-05/1.02, allocations: 114.5 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.582e-05/1.02, allocations: 207.2 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.622e-05/1.02, allocations: 2.062 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.212e-05/1.02, allocations: 75.28 kB / 1.093 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of Backend: time 2.01e-07/1.02, allocations: 1.125 kB / 1.093 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004328/1.021, allocations: 111.6 kB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of SimCode: time 0.000282/1.021, allocations: 0.5246 MB / 1.094 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of Templates: time 0.002747/1.024, allocations: 0.4954 MB / 1.094 GB, free: 16.53 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches