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.001403/0.001403, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001627/0.001627, allocations: 214.6 kB / 23.04 MB, free: 5.074 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.648/2.648, allocations: 476.7 MB / 0.7714 GB, free: 4.301 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.001929/0.001929, allocations: 63.75 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2882, allocations: 170 MB / 1.284 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.0176/0.3058, allocations: 15.76 MB / 1.3 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006719/0.3125, allocations: 4.712 MB / 1.304 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000567/0.313, allocations: 27.69 kB / 1.304 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000734/0.3138, allocations: 198.6 kB / 1.304 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.3153, allocations: 0.6073 MB / 1.305 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.3169, allocations: 0.5896 MB / 1.306 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001428/0.3184, allocations: 0.978 MB / 1.306 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004716/0.3188, allocations: 256.5 kB / 1.307 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000872/0.3197, allocations: 434.3 kB / 1.307 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005205/0.3202, allocations: 322.5 kB / 1.307 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.183e-05/0.3203, allocations: 24 kB / 1.307 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005901/0.3209, allocations: 235.5 kB / 1.308 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.321, allocations: 83.56 kB / 1.308 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.3212, allocations: 202.8 kB / 1.308 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007601/0.3219, allocations: 0.5098 MB / 1.308 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.322, allocations: 7.938 kB / 1.308 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.322, allocations: 0 / 1.308 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.322, allocations: 0 / 1.308 GB, free: 2.805 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.001199/0.3232, allocations: 0.6717 MB / 1.309 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.3232, allocations: 12.03 kB / 1.309 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.219e-05/0.3232, allocations: 4.625 kB / 1.309 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.118e-05/0.3233, allocations: 62.72 kB / 1.309 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.3234, allocations: 56.61 kB / 1.309 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006784/0.3241, allocations: 339 kB / 1.31 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.3241, allocations: 16.44 kB / 1.31 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.394e-05/0.3241, allocations: 32 kB / 1.31 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003565/0.3245, allocations: 199.2 kB / 1.31 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3245, allocations: 3.938 kB / 1.31 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.3245, allocations: 8 kB / 1.31 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3245, allocations: 4 kB / 1.31 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/0.3248, allocations: 133.7 kB / 1.31 GB, free: 1.211 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.001547/0.3263, allocations: 0.8484 MB / 1.311 GB, free: 296 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/0.3268, allocations: 114.6 kB / 1.311 GB, free: 172 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.11e-05/0.3269, allocations: 44.78 kB / 1.311 GB, free: 124 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.327, allocations: 27.97 kB / 1.311 GB, free: 96 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.3271, allocations: 34.56 kB / 1.311 GB, free: 52 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.843e-06/0.3271, allocations: 0 / 1.311 GB, free: 52 kB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0004394/0.3275, allocations: 177.3 kB / 1.311 GB, free: 15.87 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.3276, allocations: 55.41 kB / 1.311 GB, free: 15.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005854/0.3281, allocations: 457.9 kB / 1.312 GB, free: 15.35 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.3282, allocations: 33.7 kB / 1.312 GB, free: 15.31 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.3284, allocations: 212.4 kB / 1.312 GB, free: 15.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.3284, allocations: 47.56 kB / 1.312 GB, free: 15.05 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.811e-05/0.3285, allocations: 53.7 kB / 1.312 GB, free: 15 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.3287, allocations: 354.7 kB / 1.312 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.3288, allocations: 55.92 kB / 1.312 GB, free: 14.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.329, allocations: 105 kB / 1.312 GB, free: 14.46 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.3292, allocations: 131.3 kB / 1.313 GB, free: 14.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3292, allocations: 0 / 1.313 GB, free: 14.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003736/0.3296, allocations: 229.2 kB / 1.313 GB, free: 14.09 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3296, allocations: 8 kB / 1.313 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3296, allocations: 4 kB / 1.313 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3296, allocations: 0 / 1.313 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.3298, allocations: 43.92 kB / 1.313 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3298, allocations: 0 / 1.313 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.3301, allocations: 35.81 kB / 1.313 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.3302, allocations: 12 kB / 1.313 GB, free: 13.99 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.0001666/0.3303, allocations: 154.2 kB / 1.313 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-05/0.3304, allocations: 51.72 kB / 1.313 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.3308, allocations: 194.8 kB / 1.313 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.3308, allocations: 4 kB / 1.313 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3308, allocations: 0 / 1.313 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3308, allocations: 192 / 1.313 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008718/0.3316, allocations: 0.6058 MB / 1.314 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.3317, allocations: 0 / 1.314 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.3318, allocations: 24 kB / 1.314 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.3318, allocations: 3.984 kB / 1.314 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.3318, allocations: 4 kB / 1.314 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.3318, allocations: 3.938 kB / 1.314 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.3318, allocations: 7.938 kB / 1.314 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.3321, allocations: 294.8 kB / 1.314 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.3323, allocations: 59.66 kB / 1.314 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.272e-05/0.3323, allocations: 4 kB / 1.314 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.3326, allocations: 19.98 kB / 1.314 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.3326, allocations: 15.92 kB / 1.314 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.3326, allocations: 8 kB / 1.314 GB, free: 12.45 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004148/0.333, allocations: 327.1 kB / 1.315 GB, free: 12.13 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.333, allocations: 0 / 1.315 GB, free: 12.13 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004803/0.3335, allocations: 107.8 kB / 1.315 GB, free: 12.03 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.0009317/0.3344, allocations: 0.9402 MB / 1.316 GB, free: 11.05 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000326/0.3348, allocations: 127.8 kB / 1.316 GB, free: 10.93 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.3348, allocations: 8 kB / 1.316 GB, free: 10.92 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.855e-05/0.3349, allocations: 51.92 kB / 1.316 GB, free: 10.87 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.3359, allocations: 181.4 kB / 1.316 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004748/0.3406, allocations: 3.27 MB / 1.319 GB, free: 7.301 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/0.3411, allocations: 0.8151 MB / 1.32 GB, free: 6.457 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002693/0.3414, allocations: 66.17 kB / 1.32 GB, free: 6.391 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.3416, allocations: 123.4 kB / 1.32 GB, free: 6.27 MB / 1.014 GB Notification: Performance of SimCode: time 1.062e-06/0.3416, allocations: 0 / 1.32 GB, free: 6.27 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04629/0.3878, allocations: 11.36 MB / 1.331 GB, free: 11.2 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.03, allocations: 6.375 kB / 1.331 GB, free: 11.2 MB / 1.029 GB " [Timeout remaining time 287] (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.538923320011236]