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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002234/0.002234, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 67.89 kB / 1.056 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9533/0.9553, allocations: 160.7 MB / 1.213 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2169/1.172, allocations: 166.6 MB / 1.376 GB, free: 0.9883 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007291/1.179, allocations: 5.746 MB / 1.381 GB, free: 11.22 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/1.18, allocations: 4 kB / 1.381 GB, free: 11.22 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0004709/1.18, allocations: 95.3 kB / 1.381 GB, free: 11.12 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0002782/1.18, allocations: 55.61 kB / 1.381 GB, free: 11.07 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/1.181, allocations: 39.89 kB / 1.381 GB, free: 11.03 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0003844/1.181, allocations: 219.1 kB / 1.382 GB, free: 10.82 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/1.181, allocations: 70.58 kB / 1.382 GB, free: 10.75 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/1.182, allocations: 103.6 kB / 1.382 GB, free: 10.64 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/1.182, allocations: 67.7 kB / 1.382 GB, free: 10.58 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/1.182, allocations: 8 kB / 1.382 GB, free: 10.57 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 2.663e-05/1.182, allocations: 15.94 kB / 1.382 GB, free: 10.55 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/1.182, allocations: 31.84 kB / 1.382 GB, free: 10.52 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 9.069e-05/1.182, allocations: 75.61 kB / 1.382 GB, free: 10.45 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/1.182, allocations: 155.3 kB / 1.382 GB, free: 10.3 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.182, allocations: 4 kB / 1.382 GB, free: 10.29 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.293e-06/1.182, allocations: 0 / 1.382 GB, free: 10.29 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.408e-05/1.182, allocations: 0 / 1.382 GB, free: 10.29 MB / 1.092 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.0007094/1.183, allocations: 450.5 kB / 1.383 GB, free: 9.805 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/1.183, allocations: 8.922 kB / 1.383 GB, free: 9.797 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/1.183, allocations: 46.5 kB / 1.383 GB, free: 9.742 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/1.183, allocations: 15.91 kB / 1.383 GB, free: 9.727 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/1.183, allocations: 260.8 kB / 1.383 GB, free: 9.434 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/1.183, allocations: 12 kB / 1.383 GB, free: 9.422 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/1.184, allocations: 12 kB / 1.383 GB, free: 9.41 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/1.184, allocations: 165.9 kB / 1.383 GB, free: 9.219 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/1.184, allocations: 3.938 kB / 1.383 GB, free: 9.215 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/1.184, allocations: 8 kB / 1.383 GB, free: 9.207 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/1.184, allocations: 4 kB / 1.383 GB, free: 9.203 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/1.184, allocations: 63.89 kB / 1.383 GB, free: 9.141 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/1.185, allocations: 1.152 MB / 1.384 GB, free: 7.91 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/1.185, allocations: 173.1 kB / 1.384 GB, free: 7.73 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.961e-05/1.185, allocations: 92.02 kB / 1.385 GB, free: 7.637 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/1.185, allocations: 75.28 kB / 1.385 GB, free: 7.562 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.624e-05/1.185, allocations: 109.8 kB / 1.385 GB, free: 7.445 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/1.185, allocations: 0 / 1.385 GB, free: 7.445 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 0.0001754/1.185, allocations: 49.59 kB / 1.385 GB, free: 7.391 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/1.186, allocations: 186 kB / 1.385 GB, free: 7.184 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/1.186, allocations: 249 kB / 1.385 GB, free: 6.938 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/1.186, allocations: 25.7 kB / 1.385 GB, free: 6.906 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/1.186, allocations: 136 kB / 1.385 GB, free: 6.77 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/1.186, allocations: 0 / 1.385 GB, free: 6.77 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/1.186, allocations: 17.72 kB / 1.385 GB, free: 6.746 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001949/1.186, allocations: 334.8 kB / 1.386 GB, free: 6.41 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/1.186, allocations: 8 kB / 1.386 GB, free: 6.402 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.845e-05/1.186, allocations: 67.72 kB / 1.386 GB, free: 6.309 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.332e-05/1.186, allocations: 52.22 kB / 1.386 GB, free: 6.242 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/1.186, allocations: 4 kB / 1.386 GB, free: 6.238 MB / 1.092 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002569/1.187, allocations: 89.36 kB / 1.386 GB, free: 6.145 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/1.187, allocations: 8 kB / 1.386 GB, free: 6.137 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/1.187, allocations: 0 / 1.386 GB, free: 6.137 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/1.187, allocations: 0 / 1.386 GB, free: 6.137 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.681e-05/1.187, allocations: 8 kB / 1.386 GB, free: 6.129 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/1.187, allocations: 8.156 kB / 1.386 GB, free: 6.121 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.813e-05/1.187, allocations: 23.75 kB / 1.386 GB, free: 6.098 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/1.187, allocations: 4 kB / 1.386 GB, free: 6.094 MB / 1.092 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.0001442/1.187, allocations: 198.7 kB / 1.386 GB, free: 5.891 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.657e-05/1.187, allocations: 124.8 kB / 1.386 GB, free: 5.762 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.498e-05/1.187, allocations: 129.6 kB / 1.386 GB, free: 5.625 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-05/1.187, allocations: 180.3 kB / 1.387 GB, free: 5.441 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.56e-05/1.187, allocations: 184.2 kB / 1.387 GB, free: 5.254 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.711e-05/1.187, allocations: 188.2 kB / 1.387 GB, free: 5.062 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/1.188, allocations: 453.1 kB / 1.387 GB, free: 4.562 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.303e-05/1.188, allocations: 104.9 kB / 1.387 GB, free: 4.453 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.516e-05/1.188, allocations: 101 kB / 1.388 GB, free: 4.348 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.187e-05/1.188, allocations: 180.3 kB / 1.388 GB, free: 4.164 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.123e-05/1.188, allocations: 184.2 kB / 1.388 GB, free: 3.977 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.532e-05/1.188, allocations: 184.4 kB / 1.388 GB, free: 3.789 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.728e-05/1.188, allocations: 184.2 kB / 1.388 GB, free: 3.602 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/1.188, allocations: 323.7 kB / 1.389 GB, free: 3.262 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/1.189, allocations: 201.9 kB / 1.389 GB, free: 3.039 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/1.189, allocations: 176.3 kB / 1.389 GB, free: 2.859 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/1.189, allocations: 109 kB / 1.389 GB, free: 2.746 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/1.189, allocations: 180.2 kB / 1.389 GB, free: 2.562 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.196e-05/1.189, allocations: 109 kB / 1.389 GB, free: 2.449 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001908/1.189, allocations: 188.4 kB / 1.389 GB, free: 2.262 MB / 1.092 GB Notification: Performance of sort global known variables: time 8.1e-08/1.189, allocations: 0 / 1.389 GB, free: 2.262 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002643/1.189, allocations: 27.95 kB / 1.389 GB, free: 2.234 MB / 1.092 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.0006069/1.19, allocations: 0.8203 MB / 1.39 GB, free: 1.383 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 9.907e-05/1.19, allocations: 31.86 kB / 1.39 GB, free: 1.352 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.19, allocations: 0 / 1.39 GB, free: 1.352 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/1.19, allocations: 0 / 1.39 GB, free: 1.352 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006489/1.191, allocations: 0.4965 MB / 1.391 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/1.193, allocations: 2.041 MB / 1.393 GB, free: 14.71 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/1.193, allocations: 0.7202 MB / 1.393 GB, free: 13.96 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 7.895e-05/1.194, allocations: 17.55 kB / 1.393 GB, free: 13.95 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.82e-05/1.194, allocations: 39.42 kB / 1.394 GB, free: 13.91 MB / 1.107 GB Notification: Performance of SimCode: time 6.81e-07/1.194, allocations: 0 / 1.394 GB, free: 13.91 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03168/1.225, allocations: 3.895 MB / 1.397 GB, free: 10.11 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/9.396, allocations: 14.52 kB / 1.397 GB, free: 10.11 MB / 1.107 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.387602197937667]