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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0007597/0.0007597, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.004242/0.004242, allocations: 170 kB / 16.26 MB, free: 6.613 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.199/1.199, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.251/2.251, allocations: 437.8 MB / 0.7121 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002778/0.0002778, allocations: 8.188 kB / 0.8729 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4808/0.4811, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001307/0.4824, allocations: 1.215 MB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008376/0.4833, allocations: 0.6437 MB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.4833, allocations: 0 / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.4833, allocations: 3.938 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.395e-05/0.4834, allocations: 7.922 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.4836, allocations: 55.89 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.839e-05/0.4837, allocations: 35.91 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.54e-05/0.4838, allocations: 15.98 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.197e-05/0.4838, allocations: 11.88 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.799e-05/0.4839, allocations: 23.86 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.4839, allocations: 0 / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.4841, allocations: 99.83 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.4841, allocations: 7.984 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.4841, allocations: 37.58 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.4843, allocations: 86.08 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.4843, allocations: 4 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4843, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.4843, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 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.0003303/0.4846, allocations: 356.9 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.4846, allocations: 8.031 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.799e-05/0.4847, allocations: 38.75 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.751e-05/0.4847, allocations: 0.9375 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.031e-05/0.4848, allocations: 176.2 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-06/0.4848, allocations: 4.375 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.4848, allocations: 8.359 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.485, allocations: 69.67 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.485, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.485, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.485, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.027e-05/0.4851, allocations: 31.98 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000279/0.4854, allocations: 276.8 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.074e-05/0.4855, allocations: 38.5 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.4855, allocations: 16.91 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003891/0.4859, allocations: 0.5661 MB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.4859, allocations: 30.56 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.486, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002119/0.4862, allocations: 69.58 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.4862, allocations: 59.47 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.017e-05/0.4863, allocations: 125.8 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.4863, allocations: 25.7 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.4863, allocations: 88.14 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.4864, allocations: 3.906 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/0.4864, allocations: 9.719 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.416e-05/0.4865, allocations: 326.8 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.914e-05/0.4865, allocations: 8 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.477e-05/0.4866, allocations: 15.98 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.651e-05/0.4866, allocations: 28.84 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4867, allocations: 0 / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001201/0.4868, allocations: 61.75 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/0.4868, allocations: 7.938 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.4868, allocations: 3.938 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-06/0.4868, allocations: 0 / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.792e-05/0.4869, allocations: 11.98 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.4869, allocations: 0 / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.265e-05/0.4869, allocations: 7.938 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.4869, allocations: 3.938 kB / 1.028 GB, free: 10.82 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 5.801e-05/0.487, allocations: 114.4 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.487, allocations: 7.906 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.4872, allocations: 69.14 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.4872, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.4872, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.4872, allocations: 0 / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.4873, allocations: 169.7 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4873, allocations: 0 / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.43e-05/0.4874, allocations: 19.95 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4874, allocations: 4 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.4874, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.4874, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4874, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.4876, allocations: 167.4 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.127e-05/0.4876, allocations: 77.11 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.4876, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.895e-05/0.4877, allocations: 4 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.4877, allocations: 4 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.4877, allocations: 7.984 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.385e-05/0.4878, allocations: 95.2 kB / 1.028 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4878, allocations: 0 / 1.028 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002086/0.488, allocations: 16 kB / 1.028 GB, free: 9.98 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.000371/0.4884, allocations: 0.6968 MB / 1.029 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.4885, allocations: 28.02 kB / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4885, allocations: 0 / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.591e-05/0.4886, allocations: 19.94 kB / 1.029 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.4888, allocations: 5.969 kB / 1.029 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.4898, allocations: 1.335 MB / 1.03 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.49, allocations: 0.6809 MB / 1.031 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.889e-05/0.49, allocations: 160 / 1.031 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.49, allocations: 23.36 kB / 1.031 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.49, allocations: 0 / 1.031 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.192/3.682, allocations: 1.268 MB / 1.032 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/3.682, allocations: 193.5 kB / 1.033 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/6.017, allocations: 0 / 1.033 GB, free: 5.641 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