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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0068/0.0068, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001491/0.001491, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.295/1.295, allocations: 222.9 MB / 240.4 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.112/2.112, allocations: 390.3 MB / 0.6648 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 67.89 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6047/0.6058, allocations: 140.4 MB / 1.088 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001232/0.6071, allocations: 0.5807 MB / 1.088 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.6081, allocations: 1.263 MB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.294e-05/0.6081, allocations: 0 / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.909e-06/0.6082, allocations: 0 / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.519e-06/0.6082, allocations: 3.938 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.6085, allocations: 64.91 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.197e-05/0.6085, allocations: 5.641 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.402e-05/0.6085, allocations: 1.781 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.075e-05/0.6086, allocations: 1.062 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.094e-05/0.6086, allocations: 1.781 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.723e-06/0.6086, allocations: 4.75 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.6088, allocations: 100 kB / 1.089 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.6088, allocations: 1.703 kB / 1.089 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.195e-05/0.6088, allocations: 0 / 1.089 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.609, allocations: 52.39 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.609, allocations: 1.312 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.844e-06/0.609, allocations: 0.75 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.609, allocations: 0 / 1.09 GB, free: 3.926 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.0001779/0.6092, allocations: 330.8 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.6092, allocations: 9 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.672e-05/0.6092, allocations: 35.66 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.712e-05/0.6092, allocations: 1.734 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.859e-05/0.6093, allocations: 162 kB / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-06/0.6093, allocations: 4.312 kB / 1.09 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.6093, allocations: 6.094 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.415e-05/0.6094, allocations: 31.75 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.269e-06/0.6094, allocations: 1.219 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.6094, allocations: 0.7031 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-06/0.6094, allocations: 0 / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.578e-05/0.6094, allocations: 6.219 kB / 1.09 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.229e-05/0.6095, allocations: 149 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 2.488e-05/0.6095, allocations: 24.77 kB / 1.09 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.123e-05/0.6095, allocations: 6.078 kB / 1.09 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000341/0.6099, allocations: 0.5576 MB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.05e-05/0.6099, allocations: 40.34 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.6099, allocations: 0 / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 9.668e-05/0.61, allocations: 36.48 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.37e-05/0.61, allocations: 53.14 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.075e-05/0.61, allocations: 89.86 kB / 1.091 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.188e-06/0.6101, allocations: 25.7 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.534e-06/0.6101, allocations: 81.98 kB / 1.091 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.6101, allocations: 128 / 1.091 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.6101, allocations: 16.34 kB / 1.091 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 2.861e-05/0.6101, allocations: 311.8 kB / 1.091 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-06/0.6102, allocations: 5.25 kB / 1.091 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-06/0.6102, allocations: 6.109 kB / 1.091 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.872e-05/0.6102, allocations: 12.45 kB / 1.091 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.6102, allocations: 0 / 1.091 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.734e-05/0.6102, allocations: 32.38 kB / 1.091 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.6103, allocations: 13.28 kB / 1.091 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.6103, allocations: 0.5625 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.6103, allocations: 1.156 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.306e-05/0.6103, allocations: 6.234 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.6103, allocations: 3.984 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.061e-05/0.6103, allocations: 1.547 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.6103, allocations: 3.938 kB / 1.092 GB, free: 1.637 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 3.041e-05/0.6104, allocations: 108.5 kB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-06/0.6104, allocations: 7.844 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.488e-05/0.6105, allocations: 47.28 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.6105, allocations: 1.094 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.6105, allocations: 0 / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.6105, allocations: 1.625 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.598e-05/0.6105, allocations: 144.6 kB / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.6105, allocations: 0 / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.398e-05/0.6105, allocations: 2.734 kB / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.6106, allocations: 3.938 kB / 1.092 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-06/0.6106, allocations: 5.062 kB / 1.092 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.6106, allocations: 0.7969 kB / 1.092 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6106, allocations: 1.062 kB / 1.092 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.128e-05/0.6106, allocations: 61.48 kB / 1.092 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.6106, allocations: 81.56 kB / 1.092 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.435e-06/0.6106, allocations: 5.484 kB / 1.092 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-06/0.6107, allocations: 0 / 1.092 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/0.6107, allocations: 5.703 kB / 1.092 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.6107, allocations: 5.031 kB / 1.092 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.663e-05/0.6107, allocations: 75.84 kB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of sort global known variables: time 9e-08/0.6107, allocations: 0 / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0001744/0.6109, allocations: 10.2 kB / 1.092 GB, free: 17.02 MB / 0.8731 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.0002741/0.6112, allocations: 0.6064 MB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 5.332e-05/0.6112, allocations: 9.078 kB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.6113, allocations: 0 / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.532e-06/0.6113, allocations: 2.531 kB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001088/0.6114, allocations: 4.25 kB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002114/0.6116, allocations: 104.5 kB / 1.093 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.6118, allocations: 0.6703 MB / 1.093 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.637e-05/0.6118, allocations: 10.09 kB / 1.093 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.091e-05/0.6118, allocations: 16.12 kB / 1.093 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of SimCode: time 2.01e-07/0.6118, allocations: 0.8438 kB / 1.093 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.614/2.226, allocations: 1.025 MB / 1.094 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/12.74, allocations: 7.312 kB / 1.094 GB, free: 15.2 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > 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