Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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.001415/0.001415, allocations: 109 kB / 17.54 MB, free: 4.781 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.001419/0.001419, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.303/1.303, allocations: 225.6 MB / 249.3 MB, free: 3.195 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.357/2.357, allocations: 443.5 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 59.91 kB / 1.059 GB, free: 0.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2632, allocations: 160.7 MB / 1.216 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01757/0.2808, allocations: 15.66 MB / 1.231 GB, free: 160 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006432/0.2872, allocations: 4.716 MB / 1.235 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005165/0.2877, allocations: 11.94 kB / 1.235 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006057/0.2883, allocations: 202.5 kB / 1.236 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.2898, allocations: 0.5985 MB / 1.236 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.2912, allocations: 0.5803 MB / 1.237 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001268/0.2925, allocations: 0.9664 MB / 1.238 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004527/0.293, allocations: 251.9 kB / 1.238 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007448/0.2937, allocations: 418.3 kB / 1.238 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004793/0.2942, allocations: 318.6 kB / 1.239 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.2943, allocations: 24 kB / 1.239 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004812/0.2947, allocations: 223.5 kB / 1.239 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.2948, allocations: 91.55 kB / 1.239 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.2951, allocations: 210.8 kB / 1.239 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007238/0.2958, allocations: 0.5018 MB / 1.24 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2958, allocations: 0 / 1.24 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2958, allocations: 0 / 1.24 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.2958, allocations: 0 / 1.24 GB, free: 7.047 MB / 0.9825 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.001154/0.2969, allocations: 0.7509 MB / 1.24 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.297, allocations: 12.03 kB / 1.24 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.928e-05/0.297, allocations: 54.73 kB / 1.241 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.668e-05/0.2971, allocations: 52.64 kB / 1.241 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006543/0.2978, allocations: 418.2 kB / 1.241 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.2978, allocations: 24.38 kB / 1.241 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.2979, allocations: 24 kB / 1.241 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.2982, allocations: 191.3 kB / 1.241 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2982, allocations: 0 / 1.241 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.2982, allocations: 8 kB / 1.241 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.2982, allocations: 8 kB / 1.241 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.2984, allocations: 129.7 kB / 1.241 GB, free: 5.289 MB / 0.9825 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.001421/0.2999, allocations: 0.8831 MB / 1.242 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.3003, allocations: 118.6 kB / 1.242 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.648e-05/0.3004, allocations: 44.84 kB / 1.242 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/0.3006, allocations: 336.4 kB / 1.243 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.3007, allocations: 34.56 kB / 1.243 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.3007, allocations: 0 / 1.243 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0003584/0.301, allocations: 177.3 kB / 1.243 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.3011, allocations: 55.34 kB / 1.243 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005371/0.3016, allocations: 453.9 kB / 1.243 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.3016, allocations: 29.7 kB / 1.243 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.3018, allocations: 216.4 kB / 1.244 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.3018, allocations: 39.64 kB / 1.244 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.784e-05/0.3019, allocations: 65.64 kB / 1.244 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.302, allocations: 350.7 kB / 1.244 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.801e-05/0.3021, allocations: 51.97 kB / 1.244 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.3023, allocations: 97.12 kB / 1.244 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.3025, allocations: 143.2 kB / 1.244 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3025, allocations: 0 / 1.244 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003527/0.3029, allocations: 217.3 kB / 1.245 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3029, allocations: 9.656 kB / 1.245 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3029, allocations: 4 kB / 1.245 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3029, allocations: 4 kB / 1.245 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.3031, allocations: 43.97 kB / 1.245 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.3031, allocations: 0 / 1.245 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/0.3034, allocations: 35.77 kB / 1.245 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.3034, allocations: 16 kB / 1.245 GB, free: 1.656 MB / 0.9825 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.0001478/0.3036, allocations: 153.7 kB / 1.245 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.691e-05/0.3036, allocations: 39.72 kB / 1.245 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.304, allocations: 201.8 kB / 1.245 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.304, allocations: 4 kB / 1.245 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.304, allocations: 0 / 1.245 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.304, allocations: 0 / 1.245 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007529/0.3047, allocations: 0.6264 MB / 1.246 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3047, allocations: 288 / 1.246 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.3048, allocations: 27.98 kB / 1.246 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3048, allocations: 0 / 1.246 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.3049, allocations: 7.938 kB / 1.246 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3049, allocations: 7.875 kB / 1.246 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.3049, allocations: 4.125 kB / 1.246 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.3052, allocations: 300.4 kB / 1.246 GB, free: 196 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.3053, allocations: 136.8 kB / 1.246 GB, free: 40 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.3053, allocations: 11.94 kB / 1.246 GB, free: 28 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.3056, allocations: 15.92 kB / 1.246 GB, free: 12 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.3056, allocations: 11.98 kB / 1.246 GB, free: 0 / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.3056, allocations: 8.078 kB / 1.246 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003818/0.306, allocations: 319.1 kB / 1.246 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.306, allocations: 0 / 1.246 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004122/0.3064, allocations: 107.8 kB / 1.247 GB, free: 15.58 MB / 0.9981 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.0009162/0.3073, allocations: 0.9516 MB / 1.247 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002701/0.3076, allocations: 131.8 kB / 1.248 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3076, allocations: 0 / 1.248 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.883e-05/0.3077, allocations: 59.91 kB / 1.248 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008864/0.3086, allocations: 187.8 kB / 1.248 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/0.3129, allocations: 3.277 MB / 1.251 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.3133, allocations: 0.8115 MB / 1.252 GB, free: 10 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002107/0.3135, allocations: 62.34 kB / 1.252 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.3136, allocations: 123.4 kB / 1.252 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of SimCode: time 4.6e-07/0.3136, allocations: 0 / 1.252 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4993/0.813, allocations: 11.25 MB / 1.263 GB, free: 49.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.677, allocations: 7.125 kB / 1.263 GB, free: 49.98 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu > Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable y1 in file Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv. Warning: Get data of variable y1 from file Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv failed! Error: Could not read variable y2 in file Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv. Warning: Get data of variable y2 from file Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.930721511998854]