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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_10_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.007144/0.007144, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001625/0.001625, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.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.611/2.611, allocations: 437.1 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.91 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3084, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001748/0.3102, allocations: 0.5911 MB / 1.167 GB, free: 6.68 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.3119, allocations: 1.245 MB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.007e-05/0.312, allocations: 0 / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.312, allocations: 0 / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.221e-06/0.312, allocations: 0 / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.3124, allocations: 67.75 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.461e-05/0.3125, allocations: 7.984 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.3125, allocations: 3.984 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.328e-05/0.3125, allocations: 0 / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.945e-05/0.3126, allocations: 4 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.986e-06/0.3126, allocations: 0 / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.3129, allocations: 99.83 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.3129, allocations: 4 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.569e-05/0.3129, allocations: 0 / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.313, allocations: 55.88 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3131, allocations: 4 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3131, allocations: 0 / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.3131, allocations: 0 / 1.168 GB, free: 5.176 MB / 0.92 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.0003014/0.3134, allocations: 323.6 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3134, allocations: 12.03 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.369e-05/0.3135, allocations: 34.75 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.319e-05/0.3135, allocations: 0.9375 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.686e-05/0.3136, allocations: 164.4 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.3136, allocations: 384 / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-06/0.3136, allocations: 4.375 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.05e-05/0.3137, allocations: 37.77 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-06/0.3137, allocations: 0 / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.3137, allocations: 0 / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3137, allocations: 0 / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.155e-05/0.3138, allocations: 4 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.3139, allocations: 149.7 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.321e-05/0.3139, allocations: 14.58 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.314, allocations: 16.95 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005937/0.3146, allocations: 0.5583 MB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.3146, allocations: 42.44 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.3146, allocations: 0 / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.000128/0.3147, allocations: 37.64 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.3148, allocations: 55.53 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.74e-05/0.3148, allocations: 89.86 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.3148, allocations: 25.7 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.643e-05/0.3149, allocations: 80.14 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.3149, allocations: 3.906 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.3149, allocations: 13.72 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.986e-05/0.315, allocations: 318.8 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.3151, allocations: 0 / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.912e-06/0.3151, allocations: 7.938 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.796e-05/0.3151, allocations: 12.8 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3151, allocations: 0 / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.578e-05/0.3152, allocations: 33.7 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3152, allocations: 7.938 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.3152, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3152, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.578e-05/0.3153, allocations: 7.984 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3153, allocations: 0 / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.2e-05/0.3153, allocations: 4.094 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.3153, allocations: 0 / 1.17 GB, free: 2.785 MB / 0.92 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 6.794e-05/0.3154, allocations: 109.8 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-06/0.3154, allocations: 3.938 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.473e-05/0.3155, allocations: 47.56 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3155, allocations: 0 / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3155, allocations: 0 / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3155, allocations: 4.031 kB / 1.17 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.569e-05/0.3156, allocations: 149.7 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3156, allocations: 4 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.671e-05/0.3157, allocations: 0 / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3157, allocations: 3.938 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.3157, allocations: 0 / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3157, allocations: 0 / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3157, allocations: 0 / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.731e-05/0.3158, allocations: 65.06 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.3158, allocations: 81.05 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.669e-06/0.3158, allocations: 0 / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.265e-05/0.3159, allocations: 4 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.728e-06/0.3159, allocations: 0 / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.3159, allocations: 7.984 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.665e-05/0.3159, allocations: 75.28 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3159, allocations: 0 / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001973/0.3161, allocations: 4 kB / 1.171 GB, free: 2.137 MB / 0.92 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.0003855/0.3165, allocations: 0.6085 MB / 1.171 GB, free: 1.496 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.208e-05/0.3166, allocations: 7.938 kB / 1.171 GB, free: 1.488 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3166, allocations: 3.938 kB / 1.171 GB, free: 1.484 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.086e-06/0.3166, allocations: 0 / 1.171 GB, free: 1.484 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.3168, allocations: 10.34 kB / 1.171 GB, free: 1.477 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000297/0.3171, allocations: 114.6 kB / 1.171 GB, free: 1.324 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.3173, allocations: 0.669 MB / 1.172 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.937e-05/0.3173, allocations: 0 / 1.172 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.733e-05/0.3174, allocations: 7.438 kB / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of SimCode: time 3.91e-07/0.3174, allocations: 4 kB / 1.172 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.3339, allocations: 1.027 MB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.666/8, allocations: 15 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > 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