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.005333/0.005333, allocations: 101.8 kB / 15.73 MB, free: 5.992 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.001261/0.001261, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.422/1.422, 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.0.1-master/package.mo): time 2.665/2.665, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 68.11 kB / 1.054 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8219/0.8233, allocations: 157.4 MB / 1.207 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002709/0.8261, allocations: 1.495 MB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.8272, allocations: 0.6544 MB / 1.209 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.8273, allocations: 0 / 1.209 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.613e-05/0.8273, allocations: 3.984 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.454e-05/0.8274, allocations: 7.875 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.8278, allocations: 86.92 kB / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.256e-05/0.8279, allocations: 35.91 kB / 1.209 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.194e-05/0.828, allocations: 12 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.803e-05/0.828, allocations: 19.92 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.884e-05/0.8281, allocations: 15.92 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.8281, allocations: 4 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.8283, allocations: 103.8 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.8284, allocations: 11.92 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.8284, allocations: 15.88 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.8286, allocations: 82.09 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.8286, allocations: 0 / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.502e-06/0.8286, allocations: 4 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.8286, allocations: 7.984 kB / 1.21 GB, free: 11.04 MB / 0.9356 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.0004337/0.8291, allocations: 359.3 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.8291, allocations: 8.031 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.517e-05/0.8292, allocations: 38.75 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.8292, allocations: 0.9375 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.8293, allocations: 176.2 kB / 1.21 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.8293, allocations: 384 / 1.21 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.8294, allocations: 4.375 kB / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.8295, allocations: 69.67 kB / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.8295, allocations: 0 / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.8296, allocations: 3.984 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.8296, allocations: 4 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.858e-05/0.8297, allocations: 23.98 kB / 1.21 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.83, allocations: 276.8 kB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.372e-05/0.8301, allocations: 38.5 kB / 1.211 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.052e-05/0.8302, allocations: 16.91 kB / 1.211 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004676/0.8307, allocations: 0.5583 MB / 1.211 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.8307, allocations: 30.56 kB / 1.211 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.8307, allocations: 0 / 1.211 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002616/0.831, allocations: 69.61 kB / 1.211 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.831, allocations: 55.41 kB / 1.211 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.44e-05/0.8311, allocations: 117.8 kB / 1.212 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.8312, allocations: 29.69 kB / 1.212 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.8312, allocations: 84.14 kB / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.8312, allocations: 7.906 kB / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.8313, allocations: 13.72 kB / 1.212 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.8314, allocations: 326.9 kB / 1.212 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.428e-05/0.8314, allocations: 8 kB / 1.212 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-05/0.8315, allocations: 11.98 kB / 1.212 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.247e-05/0.8316, allocations: 24.84 kB / 1.212 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8316, allocations: 3.938 kB / 1.212 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000134/0.8317, allocations: 61.53 kB / 1.212 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.8317, allocations: 12.09 kB / 1.212 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.8318, allocations: 0 / 1.212 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.8318, allocations: 0 / 1.212 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.453e-05/0.8319, allocations: 7.984 kB / 1.212 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.8319, allocations: 0 / 1.212 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.656e-05/0.8319, allocations: 7.938 kB / 1.212 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.8319, allocations: 3.938 kB / 1.212 GB, free: 8.262 MB / 0.9356 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 8.277e-05/0.832, allocations: 105.8 kB / 1.212 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.832, allocations: 7.906 kB / 1.212 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.8322, allocations: 69.14 kB / 1.212 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.8322, allocations: 0 / 1.212 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.8323, allocations: 4 kB / 1.212 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.8323, allocations: 3.938 kB / 1.212 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.8324, allocations: 173.7 kB / 1.212 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.8324, allocations: 0 / 1.212 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-05/0.8325, allocations: 11.98 kB / 1.212 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.8325, allocations: 0 / 1.212 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.8325, allocations: 0 / 1.212 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.8325, allocations: 4.031 kB / 1.212 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8325, allocations: 0 / 1.212 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.8327, allocations: 151.5 kB / 1.213 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.8328, allocations: 85.02 kB / 1.213 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.8328, allocations: 0 / 1.213 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.504e-05/0.8328, allocations: 4 kB / 1.213 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.8329, allocations: 4.016 kB / 1.213 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.8329, allocations: 4 kB / 1.213 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.848e-05/0.833, allocations: 103.6 kB / 1.213 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.833, allocations: 0 / 1.213 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00024/0.8332, allocations: 8 kB / 1.213 GB, free: 7.43 MB / 0.9356 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.0004886/0.8337, allocations: 0.6968 MB / 1.214 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.8339, allocations: 27.98 kB / 1.214 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.8339, allocations: 0 / 1.214 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.221e-05/0.8339, allocations: 15.92 kB / 1.214 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.8342, allocations: 2.188 kB / 1.214 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.8355, allocations: 1.309 MB / 1.215 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.8357, allocations: 0.6845 MB / 1.215 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.89e-05/0.8358, allocations: 3.984 kB / 1.216 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.8358, allocations: 19.44 kB / 1.216 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.8358, allocations: 3.938 kB / 1.216 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.856, allocations: 1.517 MB / 1.217 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/8.591, allocations: 7.047 kB / 1.217 GB, free: 3.086 MB / 0.9356 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