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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009586/0.0009588, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.0079/0.0079, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.284/1.284, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.412/2.412, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002815, allocations: 14.53 kB / 0.9029 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2251, allocations: 159.6 MB / 1.059 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001319/0.2265, allocations: 1.234 MB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008216/0.2273, allocations: 0.6428 MB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.11e-05/0.2274, allocations: 0 / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.2274, allocations: 3.984 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.061e-05/0.2274, allocations: 7.938 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.2277, allocations: 59.88 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.645e-05/0.2277, allocations: 35.8 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.557e-05/0.2278, allocations: 19.92 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.44e-05/0.2279, allocations: 7.984 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.728e-05/0.2279, allocations: 19.88 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.2279, allocations: 4 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.2281, allocations: 99.88 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.2281, allocations: 4 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.2282, allocations: 41.58 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.2283, allocations: 80.05 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.2283, allocations: 0 / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2283, allocations: 0 / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.805e-06/0.2283, allocations: 0 / 1.061 GB, free: 2.641 MB / 0.8106 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.0003363/0.2287, allocations: 360.8 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.2287, allocations: 11.97 kB / 1.061 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.249e-05/0.2287, allocations: 38.75 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.965e-05/0.2288, allocations: 4.844 kB / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.93e-05/0.2288, allocations: 172.3 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.976e-06/0.2289, allocations: 4.312 kB / 1.062 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.2289, allocations: 4.375 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.229, allocations: 61.78 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.471e-06/0.229, allocations: 4 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.229, allocations: 4 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.229, allocations: 0 / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.744e-05/0.2291, allocations: 35.97 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002915/0.2294, allocations: 276.7 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.481e-05/0.2295, allocations: 34.58 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.413e-05/0.2296, allocations: 16.91 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003859/0.23, allocations: 0.5622 MB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.23, allocations: 34.56 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.23, allocations: 4 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000214/0.2302, allocations: 73.53 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.2302, allocations: 55.39 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.576e-05/0.2303, allocations: 125.7 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.2303, allocations: 25.7 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.2304, allocations: 88.27 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.163e-05/0.2304, allocations: 7.906 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.2304, allocations: 17.7 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.011e-05/0.2305, allocations: 314.8 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.136e-05/0.2306, allocations: 15.98 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.228e-05/0.2306, allocations: 8 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.252e-05/0.2307, allocations: 36.84 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2307, allocations: 0 / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001123/0.2308, allocations: 57.69 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.2308, allocations: 7.938 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.2309, allocations: 0 / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.2309, allocations: 0 / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.044e-05/0.2309, allocations: 16.02 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.2309, allocations: 0 / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.304e-05/0.231, allocations: 7.906 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.231, allocations: 7.938 kB / 1.063 GB, free: 15.82 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 5.662e-05/0.2311, allocations: 109.8 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.2311, allocations: 7.984 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.2312, allocations: 69.16 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2312, allocations: 3.984 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2313, allocations: 0 / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.2313, allocations: 0 / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.2314, allocations: 169.6 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2314, allocations: 0 / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.2314, allocations: 8 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2315, allocations: 0 / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.2315, allocations: 0 / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2315, allocations: 0 / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2315, allocations: 4.031 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.2316, allocations: 167.3 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.786e-05/0.2317, allocations: 77.11 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.2317, allocations: 4 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.902e-05/0.2317, allocations: 7.984 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.2318, allocations: 4.031 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.2318, allocations: 4 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.28e-05/0.2318, allocations: 95.2 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2318, allocations: 0 / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002081/0.232, allocations: 12 kB / 1.064 GB, free: 15 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.0003785/0.2324, allocations: 0.6929 MB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.2325, allocations: 31.92 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2326, allocations: 0 / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.458e-05/0.2326, allocations: 15.98 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.2328, allocations: 13.81 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.2338, allocations: 1.325 MB / 1.066 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.234, allocations: 0.6848 MB / 1.067 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.348e-05/0.2341, allocations: 16.06 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.2341, allocations: 11.44 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2341, allocations: 0 / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7824/1.017, allocations: 1.274 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/1.017, allocations: 190.4 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.632, allocations: 0 / 1.068 GB, free: 10.65 MB / 0.8262 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