Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.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.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Validation_FlowSplitter_u",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.007144/0.007144, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.002143/0.002143, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.243/1.243, allocations: 222.9 MB / 240.4 MB, free: 4.148 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.311/2.311, allocations: 437.1 MB / 0.7106 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 67.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2369, allocations: 151.6 MB / 1.166 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.5935/0.8304, allocations: 166.1 MB / 1.328 GB, free: 4.379 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005347/0.8358, allocations: 5.699 MB / 1.334 GB, free: 276 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.8359, allocations: 4.812 kB / 1.334 GB, free: 276 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.8363, allocations: 95.39 kB / 1.334 GB, free: 208 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.8364, allocations: 55.31 kB / 1.334 GB, free: 172 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001104/0.8366, allocations: 41 kB / 1.334 GB, free: 148 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.8368, allocations: 218.1 kB / 1.334 GB, free: 40 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.837, allocations: 97.89 kB / 1.334 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.8372, allocations: 98.53 kB / 1.335 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.8374, allocations: 75.94 kB / 1.335 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.8374, allocations: 10.88 kB / 1.335 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.343e-05/0.8374, allocations: 9.156 kB / 1.335 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.481e-05/0.8375, allocations: 27.88 kB / 1.335 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.344e-05/0.8375, allocations: 74.84 kB / 1.335 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.8377, allocations: 156.9 kB / 1.335 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.8377, allocations: 4 kB / 1.335 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.143e-06/0.8377, allocations: 3.938 kB / 1.335 GB, free: 15.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.8378, allocations: 0 / 1.335 GB, free: 15.79 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0005072/0.8383, allocations: 452.6 kB / 1.335 GB, free: 15.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.8383, allocations: 8.375 kB / 1.335 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.166e-05/0.8383, allocations: 42.77 kB / 1.335 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.8384, allocations: 16.88 kB / 1.335 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.8387, allocations: 266.2 kB / 1.336 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.8387, allocations: 9.188 kB / 1.336 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.8387, allocations: 13.06 kB / 1.336 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.8389, allocations: 168.1 kB / 1.336 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.839, allocations: 0 / 1.336 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.839, allocations: 6.875 kB / 1.336 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.839, allocations: 6.531 kB / 1.336 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.979e-05/0.8391, allocations: 64.5 kB / 1.336 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008062/0.8399, allocations: 1.151 MB / 1.337 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.273e-05/0.84, allocations: 178.1 kB / 1.337 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.701e-05/0.84, allocations: 81.27 kB / 1.337 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.8401, allocations: 79.22 kB / 1.337 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.8401, allocations: 106.9 kB / 1.337 GB, free: 13.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.8401, allocations: 0 / 1.337 GB, free: 13.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.08e-05/0.8402, allocations: 47.59 kB / 1.337 GB, free: 13.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.295e-05/0.8403, allocations: 183.2 kB / 1.338 GB, free: 13.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.8405, allocations: 257.8 kB / 1.338 GB, free: 12.94 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.8405, allocations: 25.7 kB / 1.338 GB, free: 12.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.728e-05/0.8406, allocations: 130.7 kB / 1.338 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.8406, allocations: 3.516 kB / 1.338 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.8407, allocations: 20.12 kB / 1.338 GB, free: 12.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.8408, allocations: 330.1 kB / 1.338 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.8408, allocations: 7.812 kB / 1.338 GB, free: 12.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.215e-05/0.8409, allocations: 68.03 kB / 1.338 GB, free: 12.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.525e-05/0.841, allocations: 49.7 kB / 1.339 GB, free: 12.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.841, allocations: 0 / 1.339 GB, free: 12.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001319/0.8411, allocations: 94.98 kB / 1.339 GB, free: 12.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/0.8411, allocations: 5.656 kB / 1.339 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.8411, allocations: 1.219 kB / 1.339 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.8411, allocations: 1.312 kB / 1.339 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.603e-05/0.8412, allocations: 12.44 kB / 1.339 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.8412, allocations: 1.531 kB / 1.339 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.537e-05/0.8413, allocations: 23.16 kB / 1.339 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.8413, allocations: 3.156 kB / 1.339 GB, free: 12.23 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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 0.0001212/0.8414, allocations: 205.9 kB / 1.339 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.498e-05/0.8415, allocations: 125.3 kB / 1.339 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.986e-05/0.8416, allocations: 119.6 kB / 1.339 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.721e-05/0.8416, allocations: 188.4 kB / 1.339 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.91e-05/0.8417, allocations: 185.8 kB / 1.339 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.399e-05/0.8418, allocations: 181.5 kB / 1.34 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.8421, allocations: 451.6 kB / 1.34 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-05/0.8421, allocations: 108.9 kB / 1.34 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/0.8421, allocations: 103.8 kB / 1.34 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.348e-05/0.8422, allocations: 181.7 kB / 1.34 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.187e-05/0.8423, allocations: 184.7 kB / 1.341 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.558e-05/0.8424, allocations: 182.4 kB / 1.341 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.53e-05/0.8424, allocations: 181.5 kB / 1.341 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.8426, allocations: 320.7 kB / 1.341 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.669e-05/0.8427, allocations: 204.7 kB / 1.341 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.418e-05/0.8428, allocations: 178.8 kB / 1.342 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.8429, allocations: 108 kB / 1.342 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/0.843, allocations: 178.6 kB / 1.342 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/0.843, allocations: 101.7 kB / 1.342 GB, free: 8.707 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001523/0.8432, allocations: 189.8 kB / 1.342 GB, free: 8.594 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.8432, allocations: 1.125 kB / 1.342 GB, free: 8.594 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002179/0.8434, allocations: 22.83 kB / 1.342 GB, free: 8.59 MB / 1.029 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 (0): * Single equations (assignments): 0 * 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.0004361/0.8438, allocations: 0.8316 MB / 1.343 GB, free: 7.758 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.333e-05/0.8439, allocations: 31.2 kB / 1.343 GB, free: 7.742 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.8439, allocations: 0 / 1.343 GB, free: 7.742 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.8439, allocations: 0 / 1.343 GB, free: 7.742 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005623/0.8445, allocations: 0.5067 MB / 1.344 GB, free: 7.273 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.8463, allocations: 2.039 MB / 1.346 GB, free: 5.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.8466, allocations: 0.7219 MB / 1.346 GB, free: 4.957 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.092e-05/0.8466, allocations: 19.16 kB / 1.346 GB, free: 4.957 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.8467, allocations: 41.69 kB / 1.346 GB, free: 4.926 MB / 1.029 GB Notification: Performance of SimCode: time 2.3e-07/0.8467, allocations: 0 / 1.346 GB, free: 4.926 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.271/4.117, allocations: 3.868 MB / 1.35 GB, free: 4.379 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.07/23.19, allocations: 16.67 kB / 1.35 GB, free: 4.367 MB / 1.029 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches