Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Splice.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Examples.Splice,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Splice",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.001525/0.001525, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 190.5 kB / 16.53 MB, free: 6.664 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.605/2.605, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.84 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3029, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002934/0.3059, allocations: 1.5 MB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.3071, allocations: 0.6582 MB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.3071, allocations: 0 / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.54e-05/0.3072, allocations: 7.922 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.88e-05/0.3073, allocations: 3.938 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.3077, allocations: 79.73 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.495e-05/0.3077, allocations: 39.84 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3078, allocations: 12 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.749e-05/0.3079, allocations: 23.86 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.525e-05/0.308, allocations: 19.92 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.308, allocations: 4 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.3082, allocations: 95.89 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.3082, allocations: 8 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.3083, allocations: 19.86 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.3084, allocations: 80.06 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3085, allocations: 8 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3085, allocations: 0 / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.3085, allocations: 0 / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004929/0.309, allocations: 364.5 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.309, allocations: 12.62 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.3091, allocations: 38.73 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.3091, allocations: 8.844 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.3093, allocations: 164.4 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.3093, allocations: 4.375 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.3093, allocations: 8.312 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.3095, allocations: 57.8 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.3095, allocations: 0 / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3095, allocations: 8 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.3095, allocations: 0 / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.82e-05/0.3096, allocations: 23.98 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.31, allocations: 276.7 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.952e-05/0.3101, allocations: 38.56 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.892e-05/0.3102, allocations: 12.92 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005556/0.3108, allocations: 0.5622 MB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.3108, allocations: 34.56 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3108, allocations: 4 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002753/0.3111, allocations: 73.52 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.3112, allocations: 51.41 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.3113, allocations: 121.8 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.3113, allocations: 25.7 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.3114, allocations: 92.12 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.3114, allocations: 3.906 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.3114, allocations: 21.84 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3116, allocations: 318.8 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.491e-05/0.3116, allocations: 8 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.924e-05/0.3117, allocations: 11.98 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.423e-05/0.3117, allocations: 24.86 kB / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3118, allocations: 0 / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001328/0.3119, allocations: 65.58 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3119, allocations: 8 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3119, allocations: 0 / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.312, allocations: 3.938 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/0.312, allocations: 4 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.312, allocations: 0 / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.933e-05/0.3121, allocations: 7.984 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.3121, allocations: 3.938 kB / 1.058 GB, free: 2.918 MB / 0.8106 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 (2): * Single equations (assignments): 2 * 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 9.29e-05/0.3122, allocations: 111.4 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.3122, allocations: 4.031 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.3124, allocations: 65.14 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.3124, allocations: 4 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3124, allocations: 3.938 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3125, allocations: 0 / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.3127, allocations: 181.6 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3127, allocations: 0 / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.3127, allocations: 7.984 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3127, allocations: 4.031 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.3127, allocations: 0 / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3127, allocations: 0 / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3128, allocations: 0 / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.3129, allocations: 151.5 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.313, allocations: 85 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.313, allocations: 0 / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.341e-05/0.3131, allocations: 8.031 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.3131, allocations: 0 / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-06/0.3131, allocations: 0 / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.729e-05/0.3132, allocations: 107.1 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3132, allocations: 0 / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002356/0.3134, allocations: 8 kB / 1.058 GB, free: 2.094 MB / 0.8106 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 (2): * Single equations (assignments): 2 * 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.0005252/0.314, allocations: 0.693 MB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.3141, allocations: 23.98 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3141, allocations: 0 / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.928e-05/0.3142, allocations: 11.94 kB / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.3144, allocations: 5.562 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.3158, allocations: 1.313 MB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.3161, allocations: 0.6807 MB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.331e-05/0.3161, allocations: 0 / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.3162, allocations: 15.44 kB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3162, allocations: 0 / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.3332, allocations: 1.493 MB / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.567/7.9, allocations: 4.594 kB / 1.063 GB, free: 13.78 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches