Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_11_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.006278/0.006279, allocations: 103.5 kB / 15.74 MB, free: 6.043 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.001285/0.001285, allocations: 201.8 kB / 16.68 MB, free: 5.965 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.736/2.736, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 63.89 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.308, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001682/0.3097, allocations: 0.5857 MB / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.3113, allocations: 1.25 MB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.372e-05/0.3113, allocations: 0 / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.307e-05/0.3113, allocations: 0 / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.979e-06/0.3113, allocations: 0 / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.3116, allocations: 71.73 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.452e-05/0.3117, allocations: 0 / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.3117, allocations: 8 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.159e-05/0.3117, allocations: 0 / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.441e-05/0.3118, allocations: 3.938 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.484e-06/0.3118, allocations: 0 / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.312, allocations: 103.8 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.826e-06/0.312, allocations: 0 / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.245e-05/0.3121, allocations: 0 / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.3122, allocations: 55.86 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3122, allocations: 4 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.72e-07/0.3122, allocations: 0 / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.3122, allocations: 0 / 1.222 GB, free: 12.18 MB / 0.9825 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.0003078/0.3125, allocations: 333 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3126, allocations: 12.03 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/0.3126, allocations: 30.75 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.688e-05/0.3126, allocations: 0.9375 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.3127, allocations: 160.4 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.3128, allocations: 384 / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-06/0.3128, allocations: 384 / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.671e-05/0.3129, allocations: 33.83 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.3129, allocations: 7.938 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-06/0.3129, allocations: 0 / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3129, allocations: 3.984 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.3129, allocations: 3.984 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.3131, allocations: 153.6 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 3.424e-05/0.3131, allocations: 18.52 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.431e-05/0.3131, allocations: 4.859 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005973/0.3137, allocations: 0.5701 MB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.3138, allocations: 34.5 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 3.257e-06/0.3138, allocations: 0 / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001257/0.3139, allocations: 33.64 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.314, allocations: 51.41 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.22e-05/0.314, allocations: 93.86 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.314, allocations: 33.83 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.3141, allocations: 84.12 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.3141, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.3141, allocations: 9.719 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3143, allocations: 314.8 kB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-06/0.3143, allocations: 0 / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-06/0.3143, allocations: 0 / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.865e-05/0.3143, allocations: 16.86 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3143, allocations: 0 / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.995e-05/0.3144, allocations: 33.7 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3144, allocations: 15.92 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3144, allocations: 0 / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3144, allocations: 0 / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.304e-05/0.3145, allocations: 4 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3145, allocations: 3.938 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.248e-05/0.3145, allocations: 4 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.3145, allocations: 0 / 1.224 GB, free: 9.785 MB / 0.9825 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.662e-05/0.3146, allocations: 109.9 kB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.735e-06/0.3146, allocations: 3.938 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.152e-05/0.3147, allocations: 48.75 kB / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.3147, allocations: 0 / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3147, allocations: 0 / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.3147, allocations: 0 / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.3149, allocations: 141.7 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3149, allocations: 32 / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.696e-05/0.3149, allocations: 11.98 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3149, allocations: 3.938 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.3149, allocations: 0 / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.3149, allocations: 3.938 kB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3149, allocations: 0 / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.208e-05/0.315, allocations: 61.08 kB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/0.315, allocations: 81.05 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.3151, allocations: 8.016 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-06/0.3151, allocations: 0 / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.377e-06/0.3151, allocations: 0 / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.3151, allocations: 4 kB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.643e-05/0.3151, allocations: 75.28 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3151, allocations: 0 / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001776/0.3153, allocations: 4 kB / 1.225 GB, free: 9.141 MB / 0.9825 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.0004385/0.3158, allocations: 0.6129 MB / 1.225 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.54e-05/0.3158, allocations: 7.938 kB / 1.225 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3158, allocations: 0 / 1.225 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.821e-06/0.3159, allocations: 0 / 1.225 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.316, allocations: 9.406 kB / 1.225 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.3163, allocations: 106.6 kB / 1.225 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.3167, allocations: 0.6768 MB / 1.226 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.776e-05/0.3167, allocations: 0 / 1.226 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.539e-05/0.3167, allocations: 7.438 kB / 1.226 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3167, allocations: 0 / 1.226 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.076/1.393, allocations: 1.037 MB / 1.227 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.628/11.02, allocations: 10.25 kB / 1.227 GB, free: 6.676 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches