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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001286/0.001286, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001361/0.001361, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.345/1.345, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.678/2.678, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 71.3 kB / 0.8985 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2863, allocations: 157.4 MB / 1.052 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002844/0.2891, allocations: 1.568 MB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.2903, allocations: 0.6583 MB / 1.054 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.2903, allocations: 8 kB / 1.054 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.822e-05/0.2904, allocations: 0 / 1.054 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.362e-05/0.2904, allocations: 7.922 kB / 1.054 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.2908, allocations: 55.88 kB / 1.054 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.872e-05/0.2908, allocations: 39.8 kB / 1.054 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.291, allocations: 12 kB / 1.054 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.963e-05/0.291, allocations: 11.98 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.313e-05/0.2911, allocations: 23.84 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.2911, allocations: 4 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.2913, allocations: 95.91 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.2914, allocations: 7.969 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.2914, allocations: 15.88 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.2915, allocations: 84.06 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2916, allocations: 0 / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.62e-07/0.2916, allocations: 0 / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.2916, allocations: 0 / 1.055 GB, free: 5.609 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.000435/0.292, allocations: 368.8 kB / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2921, allocations: 11.97 kB / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.2921, allocations: 34.75 kB / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.2921, allocations: 8.844 kB / 1.055 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.2922, allocations: 176.2 kB / 1.055 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.2923, allocations: 384 / 1.055 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.2923, allocations: 12.36 kB / 1.055 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.2924, allocations: 53.8 kB / 1.055 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2925, allocations: 0 / 1.055 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.853e-05/0.2925, allocations: 8 kB / 1.055 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2925, allocations: 0 / 1.055 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.82e-05/0.2926, allocations: 23.98 kB / 1.055 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.2929, allocations: 284.7 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.203e-05/0.293, allocations: 30.56 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/0.2931, allocations: 28.84 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000458/0.2935, allocations: 0.5505 MB / 1.056 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.2936, allocations: 34.56 kB / 1.056 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.505e-06/0.2936, allocations: 0 / 1.056 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002365/0.2938, allocations: 69.61 kB / 1.056 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.2939, allocations: 55.44 kB / 1.056 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.949e-05/0.294, allocations: 125.8 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.294, allocations: 25.7 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.294, allocations: 88.12 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.294, allocations: 3.906 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.2941, allocations: 17.72 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2942, allocations: 322.8 kB / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.662e-05/0.2942, allocations: 12 kB / 1.057 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.02e-05/0.2943, allocations: 7.984 kB / 1.057 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.338e-05/0.2944, allocations: 36.78 kB / 1.057 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2944, allocations: 0 / 1.057 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001182/0.2945, allocations: 53.59 kB / 1.057 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.2945, allocations: 4 kB / 1.057 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2945, allocations: 0 / 1.057 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.2946, allocations: 4.094 kB / 1.057 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.543e-05/0.2946, allocations: 11.98 kB / 1.057 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2946, allocations: 0 / 1.057 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.303e-05/0.2947, allocations: 0 / 1.057 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.2947, allocations: 7.875 kB / 1.057 GB, free: 2.816 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 0.000119/0.2948, allocations: 109.8 kB / 1.057 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.2949, allocations: 4 kB / 1.057 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.295, allocations: 69.14 kB / 1.057 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.295, allocations: 4 kB / 1.057 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.295, allocations: 0 / 1.057 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.295, allocations: 0 / 1.057 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.2952, allocations: 173.5 kB / 1.057 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2952, allocations: 0 / 1.057 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.2953, allocations: 7.984 kB / 1.057 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2953, allocations: 0 / 1.057 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.2953, allocations: 4 kB / 1.057 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2953, allocations: 0 / 1.057 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2953, allocations: 0 / 1.057 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.2955, allocations: 159.4 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.2955, allocations: 85.02 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.2955, allocations: 0 / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.056e-05/0.2956, allocations: 0 / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.2956, allocations: 7.984 kB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.2956, allocations: 3.938 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.77e-05/0.2957, allocations: 103.2 kB / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2957, allocations: 0 / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002231/0.2959, allocations: 12 kB / 1.058 GB, free: 1.988 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.0004631/0.2964, allocations: 0.6813 MB / 1.058 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.2965, allocations: 27.95 kB / 1.058 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2966, allocations: 4 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.366e-05/0.2966, allocations: 8 kB / 1.059 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.2968, allocations: 15.92 kB / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.2981, allocations: 1.31 MB / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.2984, allocations: 0.6809 MB / 1.06 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.695e-05/0.2985, allocations: 4 kB / 1.06 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.2985, allocations: 15.42 kB / 1.06 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2985, allocations: 0 / 1.06 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01059/0.3091, allocations: 1.353 MB / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/0.3093, allocations: 185.2 kB / 1.062 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.065, allocations: 3.938 kB / 1.062 GB, free: 13.58 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