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.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.001702/0.001702, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002098/0.002098, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.492/1.492, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.948/2.948, allocations: 0.5003 GB / 0.8026 GB, free: 6.742 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="cs",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.00197/0.00197, allocations: 68.19 kB / 1.165 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.094/1.096, allocations: 178.9 MB / 1.34 GB, free: 16.24 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01615/1.112, allocations: 15.57 MB / 1.355 GB, free: 5.102 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006839/1.119, allocations: 4.654 MB / 1.36 GB, free: 1.809 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008084/1.119, allocations: 24.09 kB / 1.36 GB, free: 1.793 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007527/1.12, allocations: 199.4 kB / 1.36 GB, free: 1.668 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001791/1.122, allocations: 0.5828 MB / 1.361 GB, free: 1.328 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/1.124, allocations: 0.5709 MB / 1.361 GB, free: 1.051 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001385/1.125, allocations: 0.9422 MB / 1.362 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004637/1.126, allocations: 278 kB / 1.362 GB, free: 0.4961 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009202/1.127, allocations: 466.7 kB / 1.363 GB, free: 300 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004723/1.127, allocations: 302.8 kB / 1.363 GB, free: 172 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.615e-05/1.127, allocations: 23.09 kB / 1.363 GB, free: 172 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006793/1.128, allocations: 227.5 kB / 1.363 GB, free: 88 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/1.128, allocations: 89.36 kB / 1.363 GB, free: 32 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002924/1.128, allocations: 204 kB / 1.364 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/1.129, allocations: 0.4986 MB / 1.364 GB, free: 15.71 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/1.129, allocations: 0 / 1.364 GB, free: 15.71 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.816e-06/1.129, allocations: 0.75 kB / 1.364 GB, free: 15.71 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.04e-05/1.129, allocations: 0.8125 kB / 1.364 GB, free: 15.71 MB / 1.076 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.001529/1.131, allocations: 0.7386 MB / 1.365 GB, free: 15.12 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/1.131, allocations: 9.594 kB / 1.365 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.008e-05/1.131, allocations: 5.531 kB / 1.365 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.038e-05/1.131, allocations: 59.39 kB / 1.365 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/1.131, allocations: 47.31 kB / 1.365 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008842/1.132, allocations: 414.9 kB / 1.365 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/1.132, allocations: 19.75 kB / 1.365 GB, free: 14.72 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-05/1.132, allocations: 29.06 kB / 1.365 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/1.133, allocations: 191.6 kB / 1.366 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/1.133, allocations: 3.938 kB / 1.366 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/1.133, allocations: 6.5 kB / 1.366 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/1.133, allocations: 4.906 kB / 1.366 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/1.133, allocations: 131.3 kB / 1.366 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/1.135, allocations: 0.8759 MB / 1.367 GB, free: 13.97 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/1.135, allocations: 108.7 kB / 1.367 GB, free: 13.92 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.953e-05/1.135, allocations: 45.06 kB / 1.367 GB, free: 13.9 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003715/1.136, allocations: 334.2 kB / 1.367 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/1.136, allocations: 40.3 kB / 1.367 GB, free: 13.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/1.136, allocations: 0 / 1.367 GB, free: 13.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0004828/1.136, allocations: 178.6 kB / 1.367 GB, free: 13.39 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/1.136, allocations: 56.53 kB / 1.367 GB, free: 13.32 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007592/1.137, allocations: 453 kB / 1.368 GB, free: 13.11 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/1.137, allocations: 27.3 kB / 1.368 GB, free: 13.07 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/1.137, allocations: 208.7 kB / 1.368 GB, free: 12.9 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/1.137, allocations: 45.27 kB / 1.368 GB, free: 12.87 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/1.137, allocations: 53.78 kB / 1.368 GB, free: 12.84 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002309/1.138, allocations: 351.1 kB / 1.368 GB, free: 12.5 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/1.138, allocations: 50.72 kB / 1.368 GB, free: 12.49 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/1.138, allocations: 115.8 kB / 1.369 GB, free: 12.41 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/1.138, allocations: 134 kB / 1.369 GB, free: 12.33 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.138, allocations: 1.219 kB / 1.369 GB, free: 12.33 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004455/1.139, allocations: 219.3 kB / 1.369 GB, free: 12.22 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.139, allocations: 6.719 kB / 1.369 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/1.139, allocations: 5.125 kB / 1.369 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/1.139, allocations: 3.281 kB / 1.369 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/1.139, allocations: 46.88 kB / 1.369 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/1.139, allocations: 3.656 kB / 1.369 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/1.139, allocations: 33.69 kB / 1.369 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/1.139, allocations: 16.11 kB / 1.369 GB, free: 12.19 MB / 1.076 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.0001814/1.139, allocations: 160.7 kB / 1.369 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.377e-05/1.139, allocations: 37.42 kB / 1.369 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004038/1.14, allocations: 194.8 kB / 1.369 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/1.14, allocations: 1.125 kB / 1.369 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.14, allocations: 1.688 kB / 1.369 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.14, allocations: 0.6562 kB / 1.369 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009726/1.141, allocations: 0.6231 MB / 1.37 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.141, allocations: 1.156 kB / 1.37 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/1.141, allocations: 26.31 kB / 1.37 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/1.141, allocations: 2.188 kB / 1.37 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/1.141, allocations: 6.906 kB / 1.37 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/1.141, allocations: 6.469 kB / 1.37 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.141, allocations: 1.922 kB / 1.37 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/1.141, allocations: 299.4 kB / 1.37 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/1.142, allocations: 132.2 kB / 1.37 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/1.142, allocations: 2.688 kB / 1.37 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/1.142, allocations: 18.3 kB / 1.37 GB, free: 11.1 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/1.142, allocations: 13.22 kB / 1.371 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/1.142, allocations: 6.125 kB / 1.371 GB, free: 11.09 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004721/1.142, allocations: 318.7 kB / 1.371 GB, free: 10.95 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.142, allocations: 0 / 1.371 GB, free: 10.95 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005307/1.143, allocations: 111.4 kB / 1.371 GB, free: 10.92 MB / 1.076 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.001036/1.144, allocations: 0.9336 MB / 1.372 GB, free: 10.13 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003581/1.144, allocations: 124.5 kB / 1.372 GB, free: 10.09 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.144, allocations: 3.938 kB / 1.372 GB, free: 10.09 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/1.144, allocations: 59.25 kB / 1.372 GB, free: 10.07 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/1.145, allocations: 177.6 kB / 1.372 GB, free: 10.02 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005336/1.151, allocations: 3.248 MB / 1.375 GB, free: 8.023 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/1.151, allocations: 0.809 MB / 1.376 GB, free: 7.316 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003218/1.152, allocations: 68.27 kB / 1.376 GB, free: 7.293 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/1.152, allocations: 122.6 kB / 1.376 GB, free: 7.207 MB / 1.076 GB Notification: Performance of SimCode: time 1.192e-06/1.152, allocations: 3.938 kB / 1.376 GB, free: 7.203 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03785/1.19, allocations: 11.12 MB / 1.387 GB, free: 6.062 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.956/10.15, allocations: 10.72 kB / 1.387 GB, free: 6.059 MB / 1.076 GB " [Timeout remaining time 290] (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/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: 16.842864865029696]