Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_10_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.001132/0.001132, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001164/0.001164, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001523, allocations: 63.91 kB / 0.8689 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7543/0.7558, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002642/0.7585, allocations: 1.566 MB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009596/0.7595, allocations: 0.6474 MB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.699e-05/0.7595, allocations: 4 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/0.7596, allocations: 3.984 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.263e-05/0.7596, allocations: 3.938 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.76, allocations: 67.88 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.749e-05/0.76, allocations: 47.78 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.216e-05/0.7601, allocations: 8 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.416e-05/0.7602, allocations: 19.98 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.7602, allocations: 19.86 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.7603, allocations: 4 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.7604, allocations: 95.89 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.7605, allocations: 4 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.7605, allocations: 19.86 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.7606, allocations: 86.09 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.7606, allocations: 0 / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.01e-07/0.7606, allocations: 0 / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.7607, allocations: 4 kB / 1.019 GB, free: 120 kB / 0.7637 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.0003448/0.761, allocations: 363.3 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.761, allocations: 8.031 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.137e-05/0.7611, allocations: 38.73 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.095e-05/0.7611, allocations: 4.844 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.542e-05/0.7612, allocations: 176.2 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.7612, allocations: 8.312 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.7612, allocations: 4.375 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.7614, allocations: 61.78 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.7614, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.7614, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.7614, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.486e-05/0.7615, allocations: 19.98 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.7618, allocations: 280.7 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.352e-05/0.7619, allocations: 30.56 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.7619, allocations: 20.92 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004045/0.7623, allocations: 0.5583 MB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.7624, allocations: 30.56 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.7624, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002178/0.7626, allocations: 77.61 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.7626, allocations: 51.41 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.852e-05/0.7627, allocations: 117.8 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.7627, allocations: 25.7 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.7628, allocations: 96.06 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.7628, allocations: 7.906 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.7628, allocations: 9.719 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.249e-05/0.7629, allocations: 322.8 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-05/0.763, allocations: 12.02 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.278e-05/0.763, allocations: 12 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.333e-05/0.7631, allocations: 24.84 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.7631, allocations: 3.938 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001091/0.7632, allocations: 53.67 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.7632, allocations: 8 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.7632, allocations: 96 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.7633, allocations: 4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.76e-05/0.7633, allocations: 4 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.7633, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.681e-05/0.7634, allocations: 15.83 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.7634, allocations: 3.938 kB / 1.022 GB, free: 13.33 MB / 0.7794 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.176e-05/0.7635, allocations: 114.3 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.7635, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.7636, allocations: 65.14 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.7636, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.7637, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7637, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.7638, allocations: 169.7 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.7638, allocations: 4 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.7639, allocations: 11.98 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7639, allocations: 0 / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.7639, allocations: 0 / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.7639, allocations: 0 / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.7639, allocations: 32 / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.764, allocations: 167.3 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.7641, allocations: 81.09 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.7641, allocations: 0 / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.969e-05/0.7642, allocations: 4 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.7642, allocations: 0 / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.7642, allocations: 0 / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.92e-05/0.7642, allocations: 107.2 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7643, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002133/0.7645, allocations: 12 kB / 1.023 GB, free: 12.5 MB / 0.7794 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.000396/0.7649, allocations: 0.689 MB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.765, allocations: 31.95 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.765, allocations: 3.938 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.193e-05/0.7651, allocations: 12 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.7653, allocations: 1.969 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.7663, allocations: 1.312 MB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.7665, allocations: 0.6884 MB / 1.025 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.061e-05/0.7665, allocations: 0 / 1.025 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.7666, allocations: 19.44 kB / 1.025 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7666, allocations: 0 / 1.025 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6601/1.427, allocations: 1.366 MB / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002451/1.427, allocations: 192.1 kB / 1.027 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/3.539, allocations: 3.938 kB / 1.027 GB, free: 8.078 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.Splice_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches