Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001706/0.001706, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002034/0.002034, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.647/2.647, allocations: 476.8 MB / 0.7715 GB, free: 3.816 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_11_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.001935/0.001935, allocations: 61.89 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2894, allocations: 170 MB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01796/0.3074, allocations: 14.35 MB / 1.298 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006763/0.3141, allocations: 4.317 MB / 1.302 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004691/0.3146, allocations: 19.81 kB / 1.302 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006018/0.3152, allocations: 190.6 kB / 1.303 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.3167, allocations: 0.5997 MB / 1.303 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.3184, allocations: 0.5929 MB / 1.304 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001501/0.3199, allocations: 0.9702 MB / 1.305 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004864/0.3203, allocations: 264.3 kB / 1.305 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008315/0.3212, allocations: 434.3 kB / 1.305 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004797/0.3217, allocations: 322.6 kB / 1.306 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.293e-05/0.3217, allocations: 24 kB / 1.306 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.3222, allocations: 195.6 kB / 1.306 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.3223, allocations: 91.53 kB / 1.306 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.3225, allocations: 163.1 kB / 1.306 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007406/0.3232, allocations: 0.5185 MB / 1.307 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3232, allocations: 0 / 1.307 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3232, allocations: 0 / 1.307 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.3232, allocations: 0 / 1.307 GB, free: 3.461 MB / 0.9981 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.00124/0.3245, allocations: 0.6639 MB / 1.307 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3245, allocations: 12.03 kB / 1.307 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.211e-05/0.3245, allocations: 8.625 kB / 1.307 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.865e-05/0.3246, allocations: 54.73 kB / 1.307 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.3247, allocations: 52.61 kB / 1.307 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007886/0.3255, allocations: 354.9 kB / 1.308 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.3255, allocations: 16.44 kB / 1.308 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.169e-05/0.3256, allocations: 24 kB / 1.308 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.3259, allocations: 191.3 kB / 1.308 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3259, allocations: 4 kB / 1.308 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.326, allocations: 8 kB / 1.308 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.326, allocations: 4 kB / 1.308 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.3262, allocations: 137.7 kB / 1.308 GB, free: 1.879 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.3277, allocations: 0.6896 MB / 1.309 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.3282, allocations: 114.6 kB / 1.309 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.349e-05/0.3283, allocations: 44.84 kB / 1.309 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.3284, allocations: 35.91 kB / 1.309 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.3284, allocations: 34.56 kB / 1.309 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.3284, allocations: 0 / 1.309 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0004088/0.3289, allocations: 173.3 kB / 1.309 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.3289, allocations: 59.34 kB / 1.309 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000598/0.3295, allocations: 457.9 kB / 1.31 GB, free: 200 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.3295, allocations: 33.7 kB / 1.31 GB, free: 160 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.3298, allocations: 212.5 kB / 1.31 GB, free: 15.94 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.586e-05/0.3298, allocations: 51.48 kB / 1.31 GB, free: 15.89 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.912e-05/0.3299, allocations: 53.7 kB / 1.31 GB, free: 15.84 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.3301, allocations: 354.7 kB / 1.31 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.3302, allocations: 51.92 kB / 1.31 GB, free: 15.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.3305, allocations: 261.4 kB / 1.311 GB, free: 15.12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.3307, allocations: 135.3 kB / 1.311 GB, free: 14.98 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3307, allocations: 0 / 1.311 GB, free: 14.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003931/0.3311, allocations: 225.2 kB / 1.311 GB, free: 14.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3311, allocations: 8 kB / 1.311 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3311, allocations: 4 kB / 1.311 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3311, allocations: 4 kB / 1.311 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.3314, allocations: 39.97 kB / 1.311 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.3314, allocations: 7.938 kB / 1.311 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.3318, allocations: 35.89 kB / 1.311 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.3318, allocations: 12 kB / 1.311 GB, free: 14.64 MB / 1.014 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.0001774/0.332, allocations: 150.3 kB / 1.311 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/0.332, allocations: 39.81 kB / 1.311 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.3324, allocations: 209.1 kB / 1.311 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3324, allocations: 0 / 1.311 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3324, allocations: 0 / 1.311 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3325, allocations: 4 kB / 1.311 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008488/0.3333, allocations: 0.5709 MB / 1.312 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.3333, allocations: 0 / 1.312 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.3334, allocations: 31.86 kB / 1.312 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3334, allocations: 128 / 1.312 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.3335, allocations: 12 kB / 1.312 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.3335, allocations: 3.938 kB / 1.312 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3335, allocations: 4 kB / 1.312 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.3338, allocations: 302.5 kB / 1.312 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.3339, allocations: 59.66 kB / 1.312 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.452e-05/0.334, allocations: 4 kB / 1.312 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.3342, allocations: 15.92 kB / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.3343, allocations: 11.98 kB / 1.312 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.3343, allocations: 7.984 kB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004298/0.3347, allocations: 327.1 kB / 1.313 GB, free: 12.81 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3347, allocations: 4 kB / 1.313 GB, free: 12.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004473/0.3351, allocations: 99.83 kB / 1.313 GB, free: 12.71 MB / 1.014 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.0009695/0.3361, allocations: 0.9265 MB / 1.314 GB, free: 11.75 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003139/0.3364, allocations: 135.8 kB / 1.314 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3364, allocations: 4.562 kB / 1.314 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.3365, allocations: 55.91 kB / 1.314 GB, free: 11.56 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009763/0.3375, allocations: 174.4 kB / 1.314 GB, free: 11.39 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004688/0.3422, allocations: 3.29 MB / 1.317 GB, free: 7.977 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.3424, allocations: 207.7 kB / 1.317 GB, free: 7.75 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002406/0.3426, allocations: 74.86 kB / 1.318 GB, free: 7.68 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.3428, allocations: 119.4 kB / 1.318 GB, free: 7.562 MB / 1.014 GB Notification: Performance of SimCode: time 5.81e-07/0.3428, allocations: 0 / 1.318 GB, free: 7.562 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03613/0.379, allocations: 12.09 MB / 1.329 GB, free: 11.86 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.96, allocations: 12.52 kB / 1.329 GB, free: 11.86 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu > Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.384900458040647]