Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Examples.Splice,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_11_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.007342/0.007342, allocations: 100 kB / 15.73 MB, free: 6.016 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.00196/0.00196, allocations: 187.8 kB / 16.67 MB, free: 5.93 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.617/2.617, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 67.89 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6398/0.6415, allocations: 159.1 MB / 1.22 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002219/0.6437, allocations: 1.494 MB / 1.222 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009058/0.6447, allocations: 0.6467 MB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.6447, allocations: 0 / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.321e-05/0.6447, allocations: 3.938 kB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.361e-05/0.6448, allocations: 11.94 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.6451, allocations: 79.72 kB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.034e-05/0.6451, allocations: 43.78 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.587e-05/0.6452, allocations: 12 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.409e-05/0.6453, allocations: 11.98 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.206e-05/0.6454, allocations: 27.84 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.6454, allocations: 4 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.6455, allocations: 95.91 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.6456, allocations: 8 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.6456, allocations: 23.84 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.6458, allocations: 83.44 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.6458, allocations: 0 / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6458, allocations: 0 / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.6458, allocations: 0 / 1.223 GB, free: 15.51 MB / 0.9512 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.0003807/0.6462, allocations: 367.1 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.6462, allocations: 12.03 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/0.6462, allocations: 38.73 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.6463, allocations: 8.891 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.6464, allocations: 168.3 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.6464, allocations: 4.375 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.6464, allocations: 8.375 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.6465, allocations: 57.78 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.6466, allocations: 4 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.6466, allocations: 7.938 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.6466, allocations: 0 / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.708e-05/0.6467, allocations: 27.98 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.647, allocations: 284.7 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.935e-05/0.6471, allocations: 34.56 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.378e-05/0.6471, allocations: 12.92 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004648/0.6476, allocations: 0.5661 MB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.6476, allocations: 30.56 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.6476, allocations: 0 / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002178/0.6479, allocations: 69.61 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.6479, allocations: 51.41 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.853e-05/0.648, allocations: 121.9 kB / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.648, allocations: 29.7 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.6481, allocations: 92.12 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.6481, allocations: 7.953 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.6481, allocations: 13.72 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.6482, allocations: 314.8 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.263e-05/0.6483, allocations: 11.98 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.995e-05/0.6483, allocations: 8 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.985e-05/0.6484, allocations: 36.84 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.6484, allocations: 0 / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001169/0.6485, allocations: 61.62 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.6486, allocations: 7.938 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-06/0.6486, allocations: 0 / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.6486, allocations: 0 / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.333e-05/0.6486, allocations: 4 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.6486, allocations: 0 / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.237e-05/0.6487, allocations: 12.02 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.6487, allocations: 3.938 kB / 1.225 GB, free: 12.71 MB / 0.9512 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 6.862e-05/0.6488, allocations: 109.8 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.6488, allocations: 3.953 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.6489, allocations: 65.14 kB / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.649, allocations: 4 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.649, allocations: 0 / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.649, allocations: 4.031 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.6491, allocations: 173.5 kB / 1.225 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.6491, allocations: 0 / 1.225 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.6492, allocations: 7.984 kB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.6492, allocations: 0 / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.6492, allocations: 0 / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.6492, allocations: 0 / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.6492, allocations: 0 / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.6494, allocations: 167.3 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.6494, allocations: 81.09 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.6495, allocations: 8 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.571e-05/0.6495, allocations: 0 / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/0.6495, allocations: 0 / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.6496, allocations: 4 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.587e-05/0.6496, allocations: 99.2 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6496, allocations: 0 / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002064/0.6498, allocations: 12 kB / 1.226 GB, free: 11.88 MB / 0.9512 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.0004289/0.6503, allocations: 0.6896 MB / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.6504, allocations: 27.91 kB / 1.226 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6504, allocations: 0 / 1.226 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.084e-05/0.6504, allocations: 16.03 kB / 1.226 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.6506, allocations: 8 kB / 1.226 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.6518, allocations: 1.315 MB / 1.228 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.652, allocations: 0.6806 MB / 1.228 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.903e-05/0.6521, allocations: 4 kB / 1.228 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.6521, allocations: 23.42 kB / 1.228 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.6521, allocations: 0 / 1.228 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.418/2.07, allocations: 1.504 MB / 1.23 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/14.97, allocations: 14.95 kB / 1.23 GB, free: 7.535 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches