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.001135/0.00114, allocations: 106.1 kB / 16.41 MB, free: 6.453 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.001188/0.001188, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.443/1.443, 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.811/2.811, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.91 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021/1.023, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001868/1.024, allocations: 0.5866 MB / 1.168 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001629/1.026, allocations: 1.247 MB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.744e-05/1.026, allocations: 0 / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/1.026, allocations: 0 / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.502e-06/1.026, allocations: 3.938 kB / 1.169 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/1.027, allocations: 59.81 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.506e-05/1.027, allocations: 4 kB / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/1.027, allocations: 11.92 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.992e-05/1.027, allocations: 7.984 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.708e-05/1.027, allocations: 0 / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.227e-06/1.027, allocations: 4 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/1.027, allocations: 87.91 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/1.027, allocations: 3.984 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/1.027, allocations: 7.938 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/1.027, allocations: 51.94 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/1.027, allocations: 0 / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.522e-06/1.027, allocations: 0 / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.009e-06/1.027, allocations: 0 / 1.169 GB, free: 1.758 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.0003458/1.028, allocations: 335.6 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/1.028, allocations: 12.92 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/1.028, allocations: 0.9375 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.833e-05/1.028, allocations: 164.4 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/1.028, allocations: 384 / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/1.028, allocations: 384 / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/1.028, allocations: 37.95 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/1.028, allocations: 0 / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/1.028, allocations: 0 / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/1.028, allocations: 4 kB / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.126e-05/1.028, allocations: 0 / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/1.028, allocations: 153.7 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.38e-05/1.028, allocations: 14.58 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.571e-05/1.028, allocations: 4.859 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006121/1.029, allocations: 0.5623 MB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/1.029, allocations: 46.42 kB / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/1.029, allocations: 0 / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001458/1.029, allocations: 29.7 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/1.029, allocations: 51.41 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.383e-05/1.029, allocations: 93.8 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/1.029, allocations: 29.7 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/1.029, allocations: 84.27 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/1.029, allocations: 3.906 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/1.029, allocations: 17.66 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.029, allocations: 310.8 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/1.029, allocations: 7.984 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-06/1.029, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.652e-05/1.029, allocations: 12.8 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.029, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.495e-05/1.03, allocations: 33.77 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/1.03, allocations: 8 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/1.03, allocations: 3.938 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/1.03, allocations: 3.984 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.429e-05/1.03, allocations: 0 / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/1.03, allocations: 0 / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.103e-05/1.03, allocations: 0 / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/1.03, allocations: 7.984 kB / 1.171 GB, free: 15.4 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.255e-05/1.03, allocations: 109.9 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-06/1.03, allocations: 4 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/1.03, allocations: 40.7 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.03, allocations: 4 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/1.03, allocations: 0 / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/1.03, allocations: 81.09 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-06/1.03, allocations: 0 / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.227e-05/1.03, allocations: 4 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/1.03, allocations: 4.031 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.816e-05/1.03, allocations: 109 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001356/1.03, allocations: 214.7 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.711e-05/1.03, allocations: 0 / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.832e-05/1.03, allocations: 75.28 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of Backend: time 1.8e-07/1.03, allocations: 0 / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004393/1.031, allocations: 114.7 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003379/1.031, allocations: 0.5253 MB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of Templates: time 0.002482/1.034, allocations: 0.5101 MB / 1.173 GB, free: 13.51 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