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.001795/0.001795, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002016/0.002016, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.606/2.606, allocations: 469.8 MB / 0.7424 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 72.91 kB / 0.9086 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2524, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002413/0.2549, allocations: 1.492 MB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009407/0.2558, allocations: 0.6483 MB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.2559, allocations: 0 / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.2559, allocations: 7.938 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.308e-05/0.256, allocations: 7.922 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.2563, allocations: 83.72 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.179e-05/0.2563, allocations: 39.86 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.175e-05/0.2564, allocations: 12 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/0.2565, allocations: 11.98 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.663e-05/0.2565, allocations: 23.86 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.208e-06/0.2565, allocations: 0 / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.2567, allocations: 103.8 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.2568, allocations: 8 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.2568, allocations: 19.86 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.2569, allocations: 92.05 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2569, allocations: 0 / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.172e-06/0.257, allocations: 0 / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.257, allocations: 0 / 1.067 GB, free: 11.67 MB / 0.8262 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.0004034/0.2574, allocations: 359.4 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.2574, allocations: 8.031 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/0.2574, allocations: 34.73 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/0.2575, allocations: 12.84 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.2576, allocations: 168.3 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.2576, allocations: 12.31 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.2576, allocations: 384 / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.2578, allocations: 65.73 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.2578, allocations: 0 / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-06/0.2578, allocations: 0 / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.2578, allocations: 0 / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.802e-05/0.2579, allocations: 23.98 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.2582, allocations: 280.8 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.814e-05/0.2583, allocations: 34.5 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/0.2584, allocations: 16.92 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004943/0.2589, allocations: 0.5623 MB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.2589, allocations: 38.56 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2589, allocations: 0 / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002149/0.2591, allocations: 61.67 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.2592, allocations: 51.41 kB / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.244e-05/0.2593, allocations: 125.7 kB / 1.068 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.2593, allocations: 25.83 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.2594, allocations: 100.1 kB / 1.068 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.2594, allocations: 7.906 kB / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.2594, allocations: 13.72 kB / 1.068 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2595, allocations: 318.8 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.093e-05/0.2596, allocations: 11.98 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.139e-05/0.2596, allocations: 8 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.752e-05/0.2597, allocations: 28.91 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2597, allocations: 0 / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001219/0.2598, allocations: 61.58 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.2599, allocations: 4 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2599, allocations: 0 / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.2599, allocations: 3.938 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-05/0.2599, allocations: 4 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.26, allocations: 7.984 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/0.26, allocations: 8.016 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.26, allocations: 3.938 kB / 1.069 GB, free: 8.883 MB / 0.8262 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 7.048e-05/0.2601, allocations: 117.8 kB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.2601, allocations: 3.906 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.2603, allocations: 65.19 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.2603, allocations: 0 / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.2603, allocations: 0 / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2603, allocations: 0 / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.2605, allocations: 173.6 kB / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2605, allocations: 0 / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.2605, allocations: 11.92 kB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2605, allocations: 0 / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-06/0.2605, allocations: 0 / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2605, allocations: 4 kB / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2605, allocations: 0 / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.2607, allocations: 151.5 kB / 1.069 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.2608, allocations: 89 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.2608, allocations: 4 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.558e-05/0.2608, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.2609, allocations: 4 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.2609, allocations: 0 / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.945e-05/0.2609, allocations: 103.6 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2609, allocations: 4 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002102/0.2612, allocations: 12 kB / 1.07 GB, free: 8.055 MB / 0.8262 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.0004511/0.2616, allocations: 0.689 MB / 1.07 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.2617, allocations: 23.97 kB / 1.07 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2617, allocations: 3.938 kB / 1.07 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.982e-05/0.2618, allocations: 20.03 kB / 1.07 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.262, allocations: 5.562 kB / 1.07 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.2632, allocations: 1.302 MB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.2635, allocations: 0.6846 MB / 1.072 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.199e-05/0.2635, allocations: 8 kB / 1.072 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.2635, allocations: 15.44 kB / 1.072 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2635, allocations: 0 / 1.072 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.309/3.573, allocations: 1.468 MB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/16.2, allocations: 6.969 kB / 1.074 GB, free: 3.754 MB / 0.8262 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