Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001777/0.001777, allocations: 104.7 kB / 16.45 MB, free: 6.5 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.001913/0.001913, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.52/1.52, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.302/3.302, allocations: 0.49 GB / 0.7916 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_12_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",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.002022/0.002022, allocations: 78.81 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3522, allocations: 176.1 MB / 1.321 GB, free: 3.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01776/0.3699, allocations: 15.57 MB / 1.336 GB, free: 3.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006914/0.3768, allocations: 4.639 MB / 1.341 GB, free: 15.1 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006017/0.3775, allocations: 19.81 kB / 1.341 GB, free: 15.08 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006436/0.3781, allocations: 194.6 kB / 1.341 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.3797, allocations: 0.5947 MB / 1.341 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.3813, allocations: 0.577 MB / 1.342 GB, free: 13.72 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001314/0.3826, allocations: 0.943 MB / 1.343 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004489/0.383, allocations: 267.9 kB / 1.343 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008222/0.3838, allocations: 474 kB / 1.344 GB, free: 12.04 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004383/0.3843, allocations: 306.6 kB / 1.344 GB, free: 11.73 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/0.3843, allocations: 24 kB / 1.344 GB, free: 11.71 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004863/0.3848, allocations: 219.6 kB / 1.344 GB, free: 11.5 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.3849, allocations: 91.55 kB / 1.344 GB, free: 11.41 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.3851, allocations: 198.8 kB / 1.344 GB, free: 11.21 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007567/0.3859, allocations: 0.5056 MB / 1.345 GB, free: 10.7 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3859, allocations: 0 / 1.345 GB, free: 10.7 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3859, allocations: 0 / 1.345 GB, free: 10.7 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.3859, allocations: 4 kB / 1.345 GB, free: 10.7 MB / 1.045 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.001202/0.3871, allocations: 0.7372 MB / 1.346 GB, free: 9.914 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.3872, allocations: 11.98 kB / 1.346 GB, free: 9.902 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.481e-05/0.3872, allocations: 54.73 kB / 1.346 GB, free: 9.84 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.3873, allocations: 52.66 kB / 1.346 GB, free: 9.789 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006737/0.388, allocations: 410.3 kB / 1.346 GB, free: 9.348 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.388, allocations: 20.38 kB / 1.346 GB, free: 9.328 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.3881, allocations: 28 kB / 1.346 GB, free: 9.301 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.3884, allocations: 195.3 kB / 1.346 GB, free: 9.102 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3884, allocations: 0 / 1.346 GB, free: 9.102 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.3884, allocations: 4 kB / 1.346 GB, free: 9.098 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.3884, allocations: 8 kB / 1.346 GB, free: 9.09 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/0.3887, allocations: 129.7 kB / 1.346 GB, free: 8.961 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.3902, allocations: 0.8793 MB / 1.347 GB, free: 8.008 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004729/0.3907, allocations: 118.6 kB / 1.347 GB, free: 7.883 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.238e-05/0.3908, allocations: 40.84 kB / 1.347 GB, free: 7.84 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003155/0.3911, allocations: 336.4 kB / 1.348 GB, free: 7.438 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3911, allocations: 30.56 kB / 1.348 GB, free: 7.398 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.754e-06/0.3911, allocations: 0 / 1.348 GB, free: 7.398 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0004022/0.3915, allocations: 181.2 kB / 1.348 GB, free: 7.215 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.3916, allocations: 59.41 kB / 1.348 GB, free: 7.145 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005803/0.3922, allocations: 441.9 kB / 1.348 GB, free: 6.707 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.3922, allocations: 33.7 kB / 1.348 GB, free: 6.668 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.3924, allocations: 216.4 kB / 1.349 GB, free: 6.453 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.3924, allocations: 35.69 kB / 1.349 GB, free: 6.418 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.3925, allocations: 65.64 kB / 1.349 GB, free: 6.348 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3927, allocations: 350.7 kB / 1.349 GB, free: 5.996 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.3928, allocations: 55.97 kB / 1.349 GB, free: 5.941 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.393, allocations: 101.1 kB / 1.349 GB, free: 5.824 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.3932, allocations: 131.3 kB / 1.349 GB, free: 5.684 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3932, allocations: 0 / 1.349 GB, free: 5.684 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004111/0.3936, allocations: 221.2 kB / 1.35 GB, free: 5.461 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3936, allocations: 8 kB / 1.35 GB, free: 5.453 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3936, allocations: 0 / 1.35 GB, free: 5.453 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3937, allocations: 4 kB / 1.35 GB, free: 5.449 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.3939, allocations: 43.97 kB / 1.35 GB, free: 5.406 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3939, allocations: 0 / 1.35 GB, free: 5.406 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003408/0.3942, allocations: 39.72 kB / 1.35 GB, free: 5.367 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.3943, allocations: 23.86 kB / 1.35 GB, free: 5.344 MB / 1.045 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.0001663/0.3944, allocations: 152 kB / 1.35 GB, free: 5.188 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.683e-05/0.3945, allocations: 39.77 kB / 1.35 GB, free: 5.148 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.3949, allocations: 196.7 kB / 1.35 GB, free: 4.949 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.3949, allocations: 0 / 1.35 GB, free: 4.949 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.3949, allocations: 4 kB / 1.35 GB, free: 4.945 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3949, allocations: 0 / 1.35 GB, free: 4.945 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009029/0.3958, allocations: 0.6225 MB / 1.351 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.3958, allocations: 4.062 kB / 1.351 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.3959, allocations: 28.2 kB / 1.351 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.3959, allocations: 4 kB / 1.351 GB, free: 4.219 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.396, allocations: 0 / 1.351 GB, free: 4.219 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.396, allocations: 11.88 kB / 1.351 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.396, allocations: 0 / 1.351 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.3963, allocations: 305.8 kB / 1.351 GB, free: 3.883 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.3965, allocations: 128.8 kB / 1.351 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.3965, allocations: 8 kB / 1.351 GB, free: 3.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.3968, allocations: 11.92 kB / 1.351 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.3968, allocations: 19.98 kB / 1.351 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.3968, allocations: 4 kB / 1.351 GB, free: 3.695 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004255/0.3972, allocations: 319 kB / 1.351 GB, free: 3.387 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3972, allocations: 0 / 1.351 GB, free: 3.387 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004775/0.3977, allocations: 107.8 kB / 1.352 GB, free: 3.281 MB / 1.045 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.0009772/0.3987, allocations: 0.9298 MB / 1.352 GB, free: 2.316 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003166/0.399, allocations: 123.8 kB / 1.353 GB, free: 2.195 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.399, allocations: 0 / 1.353 GB, free: 2.195 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.3991, allocations: 63.91 kB / 1.353 GB, free: 2.133 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.4001, allocations: 179 kB / 1.353 GB, free: 1.957 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005028/0.4051, allocations: 3.256 MB / 1.356 GB, free: 14.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.4056, allocations: 0.8035 MB / 1.357 GB, free: 13.74 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002716/0.4059, allocations: 67.02 kB / 1.357 GB, free: 13.68 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.4061, allocations: 123.4 kB / 1.357 GB, free: 13.56 MB / 1.061 GB Notification: Performance of SimCode: time 7.11e-07/0.4061, allocations: 0 / 1.357 GB, free: 13.56 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03981/0.4459, allocations: 11.08 MB / 1.368 GB, free: 2.766 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.77/9.216, allocations: 7.797 kB / 1.368 GB, free: 2.758 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.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_12_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.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_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv. Warning: Get data of variable y1 from file Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv failed! Error: Could not read variable y2 in file Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv. Warning: Get data of variable y2 from file Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.173597153974697]