Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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.001553/0.001553, allocations: 109.2 kB / 16.45 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.001726/0.001726, allocations: 192.5 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.576/1.576, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.186/3.186, allocations: 497.2 MB / 0.7811 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 75.48 kB / 1.134 GB, free: 33.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3482, allocations: 173.9 MB / 1.304 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01814/0.3663, allocations: 15.45 MB / 1.319 GB, free: 2.023 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007419/0.3737, allocations: 4.644 MB / 1.324 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007359/0.3745, allocations: 19.88 kB / 1.324 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007819/0.3753, allocations: 194.6 kB / 1.324 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.3771, allocations: 0.583 MB / 1.324 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.3787, allocations: 0.5792 MB / 1.325 GB, free: 12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001371/0.3801, allocations: 0.9392 MB / 1.326 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004604/0.3805, allocations: 279.8 kB / 1.326 GB, free: 10.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008326/0.3814, allocations: 458.1 kB / 1.327 GB, free: 10.33 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004394/0.3818, allocations: 298.7 kB / 1.327 GB, free: 10.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.931e-05/0.3819, allocations: 31.94 kB / 1.327 GB, free: 10 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005079/0.3824, allocations: 223.6 kB / 1.327 GB, free: 9.785 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.3825, allocations: 83.56 kB / 1.327 GB, free: 9.703 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.3827, allocations: 206.8 kB / 1.327 GB, free: 9.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007946/0.3835, allocations: 0.5018 MB / 1.328 GB, free: 8.996 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3835, allocations: 0 / 1.328 GB, free: 8.996 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3835, allocations: 0 / 1.328 GB, free: 8.996 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.3835, allocations: 4 kB / 1.328 GB, free: 8.992 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001242/0.3848, allocations: 0.7392 MB / 1.329 GB, free: 8.203 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3848, allocations: 12.92 kB / 1.329 GB, free: 8.191 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.63e-05/0.3849, allocations: 58.73 kB / 1.329 GB, free: 8.125 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.819e-05/0.385, allocations: 44.66 kB / 1.329 GB, free: 8.082 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007173/0.3857, allocations: 406.4 kB / 1.329 GB, free: 7.652 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.3857, allocations: 24.38 kB / 1.329 GB, free: 7.629 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.3857, allocations: 27.98 kB / 1.329 GB, free: 7.602 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.3861, allocations: 191.3 kB / 1.329 GB, free: 7.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3861, allocations: 0 / 1.329 GB, free: 7.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.3861, allocations: 16 kB / 1.329 GB, free: 7.395 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.3861, allocations: 4 kB / 1.329 GB, free: 7.391 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.3864, allocations: 137.6 kB / 1.329 GB, free: 7.258 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.3879, allocations: 0.8754 MB / 1.33 GB, free: 6.305 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.3883, allocations: 106.6 kB / 1.33 GB, free: 6.191 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.723e-05/0.3884, allocations: 48.84 kB / 1.33 GB, free: 6.141 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002896/0.3887, allocations: 332.4 kB / 1.331 GB, free: 5.742 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.3887, allocations: 38.56 kB / 1.331 GB, free: 5.695 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.3887, allocations: 0 / 1.331 GB, free: 5.695 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0003708/0.3891, allocations: 177.2 kB / 1.331 GB, free: 5.516 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.3891, allocations: 51.41 kB / 1.331 GB, free: 5.453 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005391/0.3897, allocations: 445.9 kB / 1.331 GB, free: 5.008 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.3897, allocations: 33.7 kB / 1.331 GB, free: 4.969 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.3899, allocations: 212.4 kB / 1.332 GB, free: 4.758 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.3899, allocations: 47.64 kB / 1.332 GB, free: 4.711 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-05/0.39, allocations: 49.66 kB / 1.332 GB, free: 4.656 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3901, allocations: 354.7 kB / 1.332 GB, free: 4.301 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.3902, allocations: 47.97 kB / 1.332 GB, free: 4.254 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.3904, allocations: 109.1 kB / 1.332 GB, free: 4.129 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.3906, allocations: 131.2 kB / 1.332 GB, free: 3.988 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3906, allocations: 4 kB / 1.332 GB, free: 3.984 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003627/0.391, allocations: 213.3 kB / 1.333 GB, free: 3.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.391, allocations: 7.938 kB / 1.333 GB, free: 3.762 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.391, allocations: 7.984 kB / 1.333 GB, free: 3.754 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.391, allocations: 0 / 1.333 GB, free: 3.754 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.3913, allocations: 47.92 kB / 1.333 GB, free: 3.707 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3913, allocations: 4 kB / 1.333 GB, free: 3.703 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.3916, allocations: 39.77 kB / 1.333 GB, free: 3.664 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.3916, allocations: 7.984 kB / 1.333 GB, free: 3.656 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.0001565/0.3917, allocations: 157.7 kB / 1.333 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.831e-05/0.3918, allocations: 43.72 kB / 1.333 GB, free: 3.449 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003534/0.3922, allocations: 187.7 kB / 1.333 GB, free: 3.262 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.3922, allocations: 4 kB / 1.333 GB, free: 3.258 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3922, allocations: 0 / 1.333 GB, free: 3.258 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.3922, allocations: 4.172 kB / 1.333 GB, free: 3.254 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007941/0.393, allocations: 0.6228 MB / 1.334 GB, free: 2.562 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.393, allocations: 4 kB / 1.334 GB, free: 2.559 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.3931, allocations: 24.14 kB / 1.334 GB, free: 2.535 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3931, allocations: 11.98 kB / 1.334 GB, free: 2.523 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3931, allocations: 8.062 kB / 1.334 GB, free: 2.516 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3931, allocations: 7.938 kB / 1.334 GB, free: 2.508 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3931, allocations: 0 / 1.334 GB, free: 2.508 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.3934, allocations: 304.5 kB / 1.334 GB, free: 2.184 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.3936, allocations: 124.8 kB / 1.334 GB, free: 2.043 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.3936, allocations: 7.984 kB / 1.334 GB, free: 2.035 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.3938, allocations: 19.92 kB / 1.334 GB, free: 2.016 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.3939, allocations: 4 kB / 1.334 GB, free: 2.012 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.3939, allocations: 7.984 kB / 1.334 GB, free: 2.004 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003813/0.3943, allocations: 319.1 kB / 1.335 GB, free: 1.691 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3943, allocations: 4 kB / 1.335 GB, free: 1.688 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004261/0.3947, allocations: 107.8 kB / 1.335 GB, free: 1.582 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001005/0.3957, allocations: 0.9399 MB / 1.336 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000298/0.396, allocations: 129.4 kB / 1.336 GB, free: 500 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.396, allocations: 4 kB / 1.336 GB, free: 496 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.3961, allocations: 60.33 kB / 1.336 GB, free: 436 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009584/0.3971, allocations: 174 kB / 1.336 GB, free: 256 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.4015, allocations: 3.257 MB / 1.339 GB, free: 12.86 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.4019, allocations: 0.8035 MB / 1.34 GB, free: 12.03 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002558/0.4022, allocations: 74.91 kB / 1.34 GB, free: 11.96 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.4023, allocations: 119.4 kB / 1.34 GB, free: 11.85 MB / 1.045 GB Notification: Performance of SimCode: time 6.71e-07/0.4023, allocations: 0 / 1.34 GB, free: 11.85 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03874/0.4411, allocations: 11.12 MB / 1.351 GB, free: 1.016 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.29/8.731, allocations: 16.94 kB / 1.351 GB, free: 1.004 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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.530010695103556]