Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 99.75 kB / 18.94 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 216.7 kB / 22.25 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.087/3.087, allocations: 0.49 GB / 0.7951 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 69.28 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3763, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1882/0.5645, allocations: 146.5 MB / 1.469 GB, free: 14.43 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005785/0.5703, allocations: 5.19 MB / 1.474 GB, free: 9.219 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.5705, allocations: 11.94 kB / 1.474 GB, free: 9.207 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004191/0.5709, allocations: 99.28 kB / 1.474 GB, free: 9.109 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.5711, allocations: 51.62 kB / 1.474 GB, free: 9.059 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.5713, allocations: 35.95 kB / 1.474 GB, free: 9.023 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003202/0.5716, allocations: 219.1 kB / 1.474 GB, free: 8.809 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.5718, allocations: 70.75 kB / 1.474 GB, free: 8.738 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.572, allocations: 103.6 kB / 1.475 GB, free: 8.637 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.5722, allocations: 71.64 kB / 1.475 GB, free: 8.566 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.5722, allocations: 8 kB / 1.475 GB, free: 8.559 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 2.339e-05/0.5722, allocations: 12 kB / 1.475 GB, free: 8.547 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.5723, allocations: 31.84 kB / 1.475 GB, free: 8.516 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 7.333e-05/0.5723, allocations: 55.75 kB / 1.475 GB, free: 8.461 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.5726, allocations: 163.2 kB / 1.475 GB, free: 8.301 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5726, allocations: 0 / 1.475 GB, free: 8.301 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5726, allocations: 0 / 1.475 GB, free: 8.301 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.5726, allocations: 4 kB / 1.475 GB, free: 8.297 MB / 1.17 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.0006306/0.5732, allocations: 373.4 kB / 1.475 GB, free: 7.902 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.5733, allocations: 12.03 kB / 1.475 GB, free: 7.891 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.902e-05/0.5733, allocations: 42.56 kB / 1.475 GB, free: 7.84 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.5734, allocations: 19.84 kB / 1.475 GB, free: 7.82 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.5737, allocations: 204.8 kB / 1.476 GB, free: 7.594 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.5737, allocations: 4 kB / 1.476 GB, free: 7.59 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.5737, allocations: 12 kB / 1.476 GB, free: 7.578 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.574, allocations: 216.6 kB / 1.476 GB, free: 7.324 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.574, allocations: 0 / 1.476 GB, free: 7.324 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.5741, allocations: 12 kB / 1.476 GB, free: 7.312 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.5741, allocations: 4 kB / 1.476 GB, free: 7.309 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.5742, allocations: 71.83 kB / 1.476 GB, free: 7.238 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009581/0.5751, allocations: 1.093 MB / 1.477 GB, free: 6.074 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.5752, allocations: 169.1 kB / 1.477 GB, free: 5.898 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.05e-05/0.5753, allocations: 92.08 kB / 1.477 GB, free: 5.805 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.5753, allocations: 75.28 kB / 1.477 GB, free: 5.73 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.482e-05/0.5754, allocations: 113.8 kB / 1.477 GB, free: 5.609 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.5754, allocations: 0 / 1.477 GB, free: 5.609 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 8.551e-05/0.5755, allocations: 45.64 kB / 1.477 GB, free: 5.559 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.5756, allocations: 182.1 kB / 1.478 GB, free: 5.355 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.5759, allocations: 256.8 kB / 1.478 GB, free: 5.09 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.5759, allocations: 29.64 kB / 1.478 GB, free: 5.055 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.576, allocations: 128 kB / 1.478 GB, free: 4.926 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.576, allocations: 0 / 1.478 GB, free: 4.926 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.576, allocations: 29.7 kB / 1.478 GB, free: 4.891 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5762, allocations: 326.8 kB / 1.478 GB, free: 4.562 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.5762, allocations: 4 kB / 1.478 GB, free: 4.559 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.5763, allocations: 174.5 kB / 1.478 GB, free: 4.336 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.885e-05/0.5764, allocations: 48.22 kB / 1.478 GB, free: 4.273 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5764, allocations: 0 / 1.478 GB, free: 4.273 MB / 1.17 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001588/0.5765, allocations: 93.47 kB / 1.479 GB, free: 4.176 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.5765, allocations: 7.938 kB / 1.479 GB, free: 4.168 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.5766, allocations: 4 kB / 1.479 GB, free: 4.164 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.5766, allocations: 0 / 1.479 GB, free: 4.164 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.5766, allocations: 11.98 kB / 1.479 GB, free: 4.152 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.5766, allocations: 0 / 1.479 GB, free: 4.152 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.5767, allocations: 19.84 kB / 1.479 GB, free: 4.133 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-06/0.5767, allocations: 0 / 1.479 GB, free: 4.133 MB / 1.17 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.0001504/0.5769, allocations: 213.5 kB / 1.479 GB, free: 3.914 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.468e-05/0.577, allocations: 128.9 kB / 1.479 GB, free: 3.781 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.902e-05/0.577, allocations: 125.8 kB / 1.479 GB, free: 3.652 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.165e-05/0.5771, allocations: 176.3 kB / 1.479 GB, free: 3.473 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.696e-05/0.5772, allocations: 188.2 kB / 1.479 GB, free: 3.281 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.019e-05/0.5772, allocations: 176.3 kB / 1.48 GB, free: 3.102 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.5775, allocations: 420.1 kB / 1.48 GB, free: 2.641 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.881e-05/0.5776, allocations: 105 kB / 1.48 GB, free: 2.531 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.701e-05/0.5776, allocations: 105 kB / 1.48 GB, free: 2.422 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.426e-05/0.5777, allocations: 180.2 kB / 1.48 GB, free: 2.238 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.159e-05/0.5778, allocations: 180.3 kB / 1.481 GB, free: 2.055 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.909e-05/0.5779, allocations: 184.2 kB / 1.481 GB, free: 1.867 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.092e-05/0.5779, allocations: 180.4 kB / 1.481 GB, free: 1.684 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.5781, allocations: 327.6 kB / 1.481 GB, free: 1.34 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.103e-05/0.5782, allocations: 132.9 kB / 1.481 GB, free: 1.203 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.459e-05/0.5783, allocations: 180.2 kB / 1.481 GB, free: 1.02 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.5784, allocations: 105 kB / 1.482 GB, free: 0.9102 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.614e-05/0.5785, allocations: 180.2 kB / 1.482 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.5785, allocations: 105 kB / 1.482 GB, free: 0.6172 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001749/0.5787, allocations: 184.5 kB / 1.482 GB, free: 448 kB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5787, allocations: 0 / 1.482 GB, free: 448 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.000243/0.5789, allocations: 20 kB / 1.482 GB, free: 428 kB / 1.17 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.000463/0.5794, allocations: 0.8321 MB / 1.483 GB, free: 15.55 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 9.374e-05/0.5795, allocations: 23.92 kB / 1.483 GB, free: 15.53 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5795, allocations: 0 / 1.483 GB, free: 15.53 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.5795, allocations: 3.938 kB / 1.483 GB, free: 15.52 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006242/0.5801, allocations: 0.4983 MB / 1.483 GB, free: 15.03 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.5821, allocations: 2.041 MB / 1.485 GB, free: 12.88 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.5822, allocations: 114 kB / 1.485 GB, free: 12.75 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 7.061e-05/0.5823, allocations: 17.48 kB / 1.485 GB, free: 12.73 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.5824, allocations: 43.42 kB / 1.486 GB, free: 12.69 MB / 1.186 GB Notification: Performance of SimCode: time 5.01e-07/0.5824, allocations: 0 / 1.486 GB, free: 12.69 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03196/0.6143, allocations: 4.714 MB / 1.49 GB, free: 8.156 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.69, allocations: 8.047 kB / 1.49 GB, free: 8.148 MB / 1.186 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.27055979098077]